mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 07:38:14 +02:00
lcl: added TApplication.ApplicationType from Christian Ulrich
git-svn-id: trunk@10206 -
This commit is contained in:
parent
829be5d8d6
commit
9757e008dd
@ -862,12 +862,15 @@ type
|
||||
Data: PtrInt;
|
||||
NextItem: PAsyncCallQueueItem;
|
||||
end;
|
||||
|
||||
TApplicationType = (atDefault,atDesktop,atHandheld,atPDA,atSmartphone);
|
||||
|
||||
{ TApplication }
|
||||
|
||||
TApplication = class(TCustomApplication)
|
||||
private
|
||||
FApplicationHandlers: array[TApplicationHandlerType] of TMethodList;
|
||||
FApplicationType: TApplicationType;
|
||||
FCaptureExceptions: boolean;
|
||||
FFindGlobalComponentEnabled: boolean;
|
||||
FFlags: TApplicationFlags;
|
||||
@ -1061,6 +1064,7 @@ type
|
||||
property ShowHint: Boolean read FShowHint write SetShowHint;
|
||||
property ShowMainForm: Boolean read FShowMainForm write FShowMainForm default true;
|
||||
property Title: String read GetTitle write SetTitle;
|
||||
property ApplicationType : TApplicationType read FApplicationType write FApplicationType;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user