lazarus/components/sqldb/mysql/registermysql4conn.pas
mattias 0ea23fcd8f added MySQL connection-component from Joost
git-svn-id: trunk@6692 -
2005-01-26 17:04:10 +00:00

48 lines
1.3 KiB
ObjectPascal

{ $Id$ }
{
*****************************************************************************
* *
* See the file COPYING.modifiedLGPL, included in this distribution, *
* for details about the copyright. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
*****************************************************************************
Author: Joost van der Sluis
This unit registers the mysqlconnection components of the FCL.
}
unit registermysql4conn;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, {$IFNDEF VER1_0} mysql4conn,{$ENDIF} LazarusPackageIntf;
procedure Register;
implementation
procedure RegisterUnitMySQL4Conn;
begin
{$IFNDEF VER1_0}
RegisterComponents('SQLdb',[TMySQLConnection]);
{$ENDIF}
end;
procedure Register;
begin
RegisterUnit('mysql4conn',@RegisterUnitMySQL4Conn);
end;
initialization
{$i registermysql4conn.lrs}
end.