* Filter on events

git-svn-id: trunk@17529 -
This commit is contained in:
michael 2011-05-23 11:51:44 +00:00
parent 38a7be5cca
commit a6e8ae39d2

View File

@ -22,9 +22,13 @@ uses SysUtils,Classes;
Type
TExceptionEvent = Procedure (Sender : TObject; E : Exception) Of Object;
TEventLogTypes = Set of TEventType;
{ TCustomApplication }
TCustomApplication = Class(TComponent)
Private
FEventLogFilter: TEventLogTypes;
FOnException: TExceptionEvent;
FTerminated : Boolean;
FHelpFile,
@ -79,6 +83,7 @@ Type
Property OptionChar : Char Read FoptionChar Write FOptionChar;
Property CaseSensitiveOptions : Boolean Read FCaseSensitiveOptions Write FCaseSensitiveOptions;
Property StopOnException : Boolean Read FStopOnException Write FStopOnException;
Property EventLogFilter : TEventLogTypes Read FEventLogFilter Write FEventLogFilter;
end;
var CustomApplication : TCustomApplication = nil;