00001 {*********************************************************}
00002 { }
00003 { Zeos Database Objects }
00004 { Delphi plain driver interface to ADO }
00005 { }
00006 { Originally written by Janos Fegyverneki }
00007 { }
00008 {*********************************************************}
00009
00010 {@********************************************************}
00011 { Copyright (c) 1999-2006 Zeos Development Group }
00012 { }
00013 { License Agreement: }
00014 { }
00015 { This library is distributed in the hope that it will be }
00016 { useful, but WITHOUT ANY WARRANTY; without even the }
00017 { implied warranty of MERCHANTABILITY or FITNESS FOR }
00018 { A PARTICULAR PURPOSE. See the GNU Lesser General }
00019 { Public License for more details. }
00020 { }
00021 { The source code of the ZEOS Libraries and packages are }
00022 { distributed under the Library GNU General Public }
00023 { License (see the file COPYING / COPYING.ZEOS) }
00024 { with the following modification: }
00025 { As a special exception, the copyright holders of this }
00026 { library give you permission to link this library with }
00027 { independent modules to produce an executable, }
00028 { regardless of the license terms of these independent }
00029 { modules, and to copy and distribute the resulting }
00030 { executable under terms of your choice, provided that }
00031 { you also meet, for each linked independent module, }
00032 { the terms and conditions of the license of that module. }
00033 { An independent module is a module which is not derived }
00034 { from or based on this library. If you modify this }
00035 { library, you may extend this exception to your version }
00036 { of the library, but you are not obligated to do so. }
00037 { If you do not wish to do so, delete this exception }
00038 { statement from your version. }
00039 { }
00040 { }
00041 { The project web site is located on: }
00042 { http:
00043 { http:
00044 { svn:
00045 { }
00046 { http:
00047 { http:
00048 { }
00049 { }
00050 { }
00051 { Zeos Development Group. }
00052 {********************************************************@}
00053
00054 unit ZPlainAdoDriver;
00055
00056 interface
00057
00058 {$I ZPlain.inc}
00059
00060 uses ZClasses, ZPlainDriver;
00061
00062 type
00063 TZAdoPlainDriver = class (TZAbstractObject, IZPlainDriver)
00064 public
00065 constructor Create;
00066
00067 function GetProtocol: string;
00068 function GetDescription: string;
00069 procedure Initialize;
00070 end;
00071
00072 implementation
00073
00074 constructor TZAdoPlainDriver.Create;
00075 begin
00076 end;
00077
00078 function TZAdoPlainDriver.GetProtocol: string;
00079 begin
00080 Result := 'ado';
00081 end;
00082
00083 function TZAdoPlainDriver.GetDescription: string;
00084 begin
00085 Result := 'Native driver for Microsoft ADO';
00086 end;
00087
00088 procedure TZAdoPlainDriver.Initialize;
00089 begin
00090 end;
00091
00092 end.
00093