mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-30 23:42:41 +02:00

ide: don't use AsyncProcess if widgetset is not capable to handle it (this fixes issues with compiling in qt and gtk2 ide under windows) git-svn-id: trunk@14710 -
62 lines
1.9 KiB
PHP
62 lines
1.9 KiB
PHP
{%MainUnit ../interfacebase.pp}
|
|
{ $Id$
|
|
******************************************************************************
|
|
TWidgetSet
|
|
|
|
WinApi stuff
|
|
|
|
|
|
!! Keep this alphabetical !!
|
|
******************************************************************************
|
|
|
|
*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* 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. *
|
|
* *
|
|
*****************************************************************************
|
|
}
|
|
|
|
constructor TWidgetSet.Create;
|
|
begin
|
|
inherited Create;
|
|
FThemeServices := CreateThemeServices;
|
|
end;
|
|
|
|
destructor TWidgetSet.Destroy;
|
|
begin
|
|
FreeAndNil(FThemeServices);
|
|
inherited Destroy;
|
|
end;
|
|
|
|
procedure TWidgetSet.PassCmdLineOptions;
|
|
begin
|
|
end;
|
|
|
|
function TWidgetSet.CreateThemeServices: TThemeServices;
|
|
begin
|
|
Result := TThemeServices.Create;
|
|
end;
|
|
|
|
procedure TWidgetSet.AppRun(const ALoop: TApplicationMainLoop);
|
|
begin
|
|
if Assigned(ALoop) then ALoop;
|
|
end;
|
|
|
|
procedure TWidgetSet.AppSetTitle(const ATitle: string);
|
|
begin
|
|
Debugln('TWidgetSet.AppSetTitle not implemented by ', ClassName);
|
|
end;
|
|
|
|
function TWidgetSet.LCLCapability(ACapability: TLCLCapability): PtrUInt;
|
|
begin
|
|
Result := 0;
|
|
end;
|
|
|