mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-20 14:50:27 +02:00
47 lines
1.0 KiB
ObjectPascal
47 lines
1.0 KiB
ObjectPascal
{
|
|
/***************************************************************************
|
|
Interfaces.pp - determines what interface to use
|
|
--------------------------------------------------
|
|
|
|
Initial Revision : Mon August 6st CST 2004
|
|
|
|
|
|
***************************************************************************/
|
|
|
|
*****************************************************************************
|
|
This file is part of the Lazarus Component Library (LCL)
|
|
|
|
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
|
for details about the license.
|
|
*****************************************************************************
|
|
}
|
|
unit Interfaces;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
{$IFNDEF CARBON}
|
|
{$ERROR wrong interfaces source}
|
|
{$ENDIF}
|
|
{$IFNDEF cpu32}
|
|
{$ERROR only 32 bit cpu is supported}
|
|
{$ENDIF}
|
|
|
|
interface
|
|
|
|
uses
|
|
{$IFNDEF DisableCWString}cwstring,{$ENDIF}
|
|
InterfaceBase;
|
|
|
|
implementation
|
|
|
|
uses
|
|
CarbonInt, Forms;
|
|
|
|
initialization
|
|
CreateWidgetset(TCarbonWidgetSet);
|
|
|
|
finalization
|
|
FreeWidgetSet;
|
|
|
|
end.
|