Made interfaces.pp consistent across widget sets. CAW

git-svn-id: trunk@196 -
This commit is contained in:
lazarus 2001-02-24 17:07:55 +00:00
parent e290c25646
commit a6404f82e0

View File

@ -24,55 +24,21 @@ unit interfaces;
{$mode objfpc}
interface
{ $DEFINE WIN}
{$DEFINE QT}
{ $DEFINE GTK}
{$ifdef WIN}
uses InterfaceBase, Win32Int;
type
TInterfaceObject = class(TWin32Object);
{$endif}
{$ifdef GTK}
uses InterfaceBase, gtkint;
type
TInterfaceObject = class(TgtkObject);
{$endif}
{$ifdef QT}
uses InterfaceBase, messages,qtint;
type
TInterfaceObject = class(TQTObject);
{$endif}
uses
InterfaceBase;
var
InterfaceObject : TInterfaceBase;
implementation
procedure Interface_Init;
begin
InterfaceObject.Init;
end;
uses
QTInt;
initialization
InterfaceObject := TInterfaceObject.Create;
InterfaceObject := TqtObject.Create;
finalization