Class TDiskChangeNotifyEx (unit DiskChangeEx)

Inherits from

TComponent

Constructors


constructor Create (AOwner : TComponent);

------------------------------------------------------------------------------ //


Functions

destructor Destroy;


procedure ChangeNotification;


procedure DoNotification (Sender : TObject);


procedure ScanTerminated (Completed : boolean);


procedure SetEnabled (Value : boolean);


procedure SetNotifyFilter (Filters : TNotifyFiltersEx);


procedure SetWatchDir (Value : string);

Build initial file list

procedure SetWatchSubTree (Value : boolean);


procedure CreateWatchThread;


procedure DestroyWatchThread;


Properties

property Enabled : boolean


property FileExtensions : string


property MaintainedDirList : boolean


property NotifyFilter : TNotifyFiltersEx


property TimerDelay : integer


property UseTimer : boolean


property WatchDir : string


property WatchSubTree : boolean


Events

event OnDiskChange : TNotifyEvent


event OnFilesChanged : TFileChangeEventEx


Variables

Busy : boolean;


CurrentDirList : TStringList;


DeletedFilesList : TStringList;


NewFilesList : TStringList;


FEnabled : boolean;


FFileChangeEvent : TFileChangeEventEx;


FFileExts : string;


FMaintainedDirList : boolean;


FNotifyFilter : TNotifyFiltersEx;


FOnDiskChange : TNotifyEvent;


FTimer : TTimer;


FTimerDelay : integer;


FUseTimer : boolean;


FWatchDir : string;


FWatchSubTree : boolean;


NotifyFilterW : word;


ScanThread : TScanThread;


WatchThread : TDiskWatchThreadEx;



Constructors


constructor Create (AOwner : TComponent);

------------------------------------------------------------------------------ //


Functions


destructor Destroy;


procedure ChangeNotification;


procedure DoNotification (Sender : TObject);


procedure ScanTerminated (Completed : boolean);


procedure SetEnabled (Value : boolean);


procedure SetNotifyFilter (Filters : TNotifyFiltersEx);


procedure SetWatchDir (Value : string);

Build initial file list


procedure SetWatchSubTree (Value : boolean);


procedure CreateWatchThread;


procedure DestroyWatchThread;


Properties


property Enabled : boolean


property FileExtensions : string


property MaintainedDirList : boolean


property NotifyFilter : TNotifyFiltersEx


property TimerDelay : integer


property UseTimer : boolean


property WatchDir : string


property WatchSubTree : boolean


Events


event OnDiskChange : TNotifyEvent


event OnFilesChanged : TFileChangeEventEx


Variables


Busy : boolean;


CurrentDirList : TStringList;


DeletedFilesList : TStringList;


NewFilesList : TStringList;


FEnabled : boolean;


FFileChangeEvent : TFileChangeEventEx;


FFileExts : string;


FMaintainedDirList : boolean;


FNotifyFilter : TNotifyFiltersEx;


FOnDiskChange : TNotifyEvent;


FTimer : TTimer;


FTimerDelay : integer;


FUseTimer : boolean;


FWatchDir : string;


FWatchSubTree : boolean;


NotifyFilterW : word;


ScanThread : TScanThread;


WatchThread : TDiskWatchThreadEx;