Skip to content

For it to be #1

Description

@limelect

For it to be more usable, those functions should be public to your decision
Also start should be after loading dir/files
I know it is only a concept.
I have many programs, and this one is one of them

monitoring_directory_changes.ZIP

ChngNtfy_Project.zip

procedure Start;
procedure Stop;
// IFileSystemMonitor implementation
function GetBufferSize: Integer;
procedure SetBufferSize(const BufferSize: Integer);
function AddDirectory(const Directory: string; WatchSubtree: Boolean;
  OnChange: TMonitorChangeHandler; NotifyFlags: TNotifyFlags = DefaultNotifyFlags): Boolean;
function AddFile(const FilePath: string; OnChange: TMonitorChangeHandler;
  NotifyFlags: TNotifyFlags = DefaultNotifyFlags): Boolean;
function RemoveDirectory(const Directory: string; OnChange: TMonitorChangeHandler): Boolean;
function RemoveFile(const FilePath: string; OnChange: TMonitorChangeHandler): Boolean;
function IsMonitoring: Boolean;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions