aboutsummaryrefslogblamecommitdiffstats
path: root/Game/Code/lib/other/DirWatch.dcu
blob: e82e738b633a690e6d73f0263b293a1d4122dc66 (plain) (tree)





























































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
#�#��b7�^�DirWatch�<plib\other\DirWatch.pas��b7dSystemfBoolean��ef
AnsiString�+{�fstring�+{�gTObject.AfterConstruction�
ĄgTObject.Dispatch�
ĄgTObject.DefaultHandler�
ĄgTObject.NewInstance�
ĄgTObject.FreeInstance�
ĄfLongBool;��gTObject.SafeCallException�
ĄgTObject.BeforeDestruction�
ĄfInteger	�f�fPChar�u�Rg@LStrToPChar$��g@ClassCreate�V�g@LStrAsg�Ԝg@AfterConstruction��KgFalsesɚ�g@BeforeDestruction�S�g
@ClassDestroy����gAssignedgExitgTruevɚ�gLengthg@LStrLenr�X��[�
g
LoadResString[WbfPLongintˊ�g@LStrAddRef�`Eg@LStrClr\��>g@LStrCat�`p�g@LStrCmp�`p�g@RaiseExcept�`p�g
@LStrArrayClr���g@HandleFinally�`p�fCardinalI��KgBreakcdSysInitg	HInstanceW6�KcdWindowsfTHandleI��KfDWORDI��KgGetFileAttributesxN�%gFILE_ATTRIBUTE_DIRECTORY�}�1g
DefWindowProc��EYgFILE_NOTIFY_CHANGE_FILE_NAME�}�1gFILE_NOTIFY_CHANGE_DIR_NAME�}�1gFILE_NOTIFY_CHANGE_ATTRIBUTES�}�1gFILE_NOTIFY_CHANGE_SIZE�}�1gFILE_NOTIFY_CHANGE_LAST_WRITE�}�1gFILE_NOTIFY_CHANGE_SECURITY-��1gCreateEvent��BgCloseHandle��BgSetEvent��BgFindFirstChangeNotification�ўggINVALID_HANDLE_VALUE�y��gWaitForSingleObject��-�gINFINITE�y��gFindCloseChangeNotification��BgWaitForMultipleObjects�W��g
WAIT_OBJECT_0�}�1gFindNextChangeNotification��BgPostMessage�U�cdMessagesfTMessage�=5gWM_USER-��1cdSysUtilsf	Exception���!g
.Exception�ΪsgException.Create��gSleeprF�jcdFormscdClassesf
TComponent�AffTNotifyEvent��g.TComponentf��gTComponent.DefineProperties�a0�gTComponent.Loaded�a0�gTComponent.Notification�a0�gTComponent.ReadState�a0�gTComponent.SetName�a0�gTComponent.UpdateRegistry�a0�gTComponent.ValidateRename�a0�gTComponent.WriteState�a0�gTComponent.QueryInterface�a0�gTComponent.BeforeDestruction�a0�gTComponent.SafeCallException�a0�gTPersistent.AssignTo�!FqgTPersistent.Assign�!FqfTThread�|�`g.TThread�Pt�gTThread.DoTerminate䜫�gTThread.AfterConstruction윫�gRegisterComponentsw�}gTComponent.Create�a0�f.35�@�XgcsDesigningM���gAllocateHWnd�o/�gDeallocateHWnd�B�jgTComponent.Destroy�a0�gTThread.Createꜫ�gTThread.SetPriority����fTThreadPriorityZtgtpLowest��gTThread.Resume휫�gTThread.Destroy뜫�gTThread.Terminate�c5DirWatch�_���c5Systemc5SysInitNc5WindowsRc5Messages�c5SysUtils�c5Forms�c5Classes�c%
nfFilename�����$%	nfDirname�����$%nfAttrib�����$%nfSize�����$%nfLastWrite�����$%
nfSecurity�����$
*.1�U@�X$*TNotifyFilters�t�=1&&.TDirectoryWatch�06}(*TDirectoryWatch�Mb'+*&
.TWatchThread��P�w,*TWatchThread�}&.7.4F0%NOTIFYCHANGE_MESSAGE
23sInvalidDir%.8����Invalid Directory: (Register��`p�X4c(DirectoryExistsB!Name Result Code
c(TDirectoryWatch.Create�~�<��4*!Self*!.6!aOwnerc�)*(TDirectoryWatch.Destroy��<�x14*!Self*!.6c�9*(TDirectoryWatch.WndProc�}�<�v�4*!Self*"aMsgc�E*( TDirectoryWatch.SetNotifyFilters�|�<�d�4*!Self*!aNotifyFiltersf&c�Q*(TDirectoryWatch.SetWatchSubDirs�{�<�J�4*!Self*!
aWatchSubDirsc�]*(TDirectoryWatch.SetDirectory�z�<��4*!Self*!aDirf� .
c�i*(TDirectoryWatch.SetActive�y�<���4*!Self*!aActive nfc�y*(TWatchThread.Create�D�-�54.!Self.
!.6!OwnerHdl!
InitialDir" !WatchSubDirs&!
NotifyFilters&c��.(TWatchThread.Destroy�E�-�\14.!Self.!.6c��.(TWatchThread.SetDirectory�A�-�P�4.!Self.!Valuec��.(TWatchThread.Terminate�F�-�H�4.!Self.c��.(TWatchThread.Execute�C�-�E�4.!Selff.�c��.(#TWatchThread.ProcessFilenameChanges�B�-��4.!Self. 
WaitResult HandleArrayf8%	TEN_MSECS
:%
HUNDRED_MSECS
:�c��.(Finalization��`p�\!�4c�(DirWatch�!4c��Ci��$
�J2�$G*yF��A��&,
fWindowHandle`��*,fWatchThread.h��*,
fWatchSubDirsp��*,
fDirectoryx��*,fActive��*,fNotifyFilters&��*,fOnChangeEvent!�*.	SetActive�y��*.SetDirectory�i��	*.SetWatchSubDirs�]��
*.SetNotifyFilters�Q��*.WndProc�E��*/Create�)�*0Destroy��91�*1	Directory
��i��!*1
NotifyFilters
&��Q��%*1WatchSubDirs
��]��)*1Active

��y��-*1OnChange
���1*cG.�FN���,	fOwnerHdl�5.,
fChangeNotify�9.,fBreakEvent!�=.,
fDirectory1�A.,
fWatchSubDirsA�E.,fNotifyFiltersQ�I.,	fFinisheda�M..SetDirectory���Q..ProcessFilenameChanges����U..Execute����Y./Create��].0Destroy���1�a..	Terminate���e.1	Directory�����i.cD0�����D0���@A6�L<D0��D0�l�!.1
nfFilename	nfDirnamenfAttribnfSizenfLastWrite
nfSecurityDirWatchTNotifyFiltersL|�P<TDirectoryWatchTDirectoryWatchLDirWatch<���	DirectoryA���
NotifyFilters8���WatchSubDirs@���ActiveH�H���OnChangeLTf\LTWatchThreadTWatchThreadLDirWatchQ��$��3ɸ$�Z�����SamplesS�؋��P����t�u3�[ð[�SV��t�����ڋ�3ҋ���`�FA�F<�l��FuVh��F0�Ƅ�t�d�����^[�����C:\SV��ڋ�3ҋ���Fu�F0��Ӏ�������~���^[�SVW�ڋ��;��uf�~Jt�֋FL�VH��CP�CPW�F0P��C_^[�SQ�$���CA:$t�$�CA�{4t3ҋ������Z[�S��:S8t�S8�{4t3ҋ������[�U����S3ɉM��U��؋E��3�Uh�d�0d� �}�u3ҋ���C<���E���t����U��|�\t
�E�����E��S<�tX�Cu8�E����u,�U����E��U���M������C<�U���C4��t�S<�3�ZYYd�h��E�������[YY]�����\U��jSV��3�Uh�d�0d� :S@���S@�C���{@���C<���u0�C@�U����E��S<��M�����3��CAt���CAt���CAt���CAt���CAt���CA t���C<P�C8PV�K0����C4�
�C4�3��C43�ZYYd�h��E������^[Y]�U��SVW��t������ڋ��3ҋ���w@�}t	�GP�3��GP�G�����GL�U��E�GTjjjj��GH����DŽ�t�d�����_^[]�SV��ڋ��FHP��Ӏ�������~���^[�SV��؋ƋSL�t�CL����CHP�^[�S�؋���CHP��j
��{Xt�[�U��QS�E��s�E��@TP�E��@PP�E��@L�P��؋E��XD���uj��E��@HP��73�Uhvd�0d� �E��3�ZYYd�h}�E��@DP�����E��x
t��E��@X[Y]�SV����؋CH�$�CD�D$�fj�j�D$Pj�����u8�CDP��{
uj
�CDP���t�{
u1jjh�C@P���{
ujd�CHP���t���{
t�YZ^[�U��3�Uh%d�0d� �3�ZYYd�h,����]Ã-�m���"����*����� ����9�����������)
0��*��"
i8�Q@]>y2�F���(������
*$��"
P�
�2 X*)"�))
$E
�&F9*y��,E`\QDyy],yyi*<i*y>Fi
@B 

8@�
�
D$�iFH2yy\ 

8@�
�
D��
��$y>H�""�H�$&j�&.�*l�,�B$n��n��> p6t���xH4�Dz ~"t8�&t*���H
��A
,*$T"*
N
F$Xj.X<
D0
 <N
 *�( 
$
*
(*�.f�9�*H..|(M1
��5�<�<�<�<�>�>�>Bz�F�J�L�N�P�
R�T�VyZX��Xri\Z��Zj]^\��\pQ`^U�^nEb`)�`�n�f�)fd��d�p�h9hf�f�j� l�"p�$r�&t~���
��������������(�����E��2��������i�4���������<��)���!�y���	�
���!�%�-5�=����IM)UYUae�mG�^�q����-}��a��������������{^�erfa���\��GA��8����������9�� p%  �%>�!>)`0-$5$1$56�9@0=AE�pMIM"�MDMn�In�Q@UU^�]`aee�aF�i�2mNm|�m�m�m�m-�y�0}.�.�F����1�}e��`p�0
�0�0�L��@0���`0���8��J��@��D�� B��0��P�Z�������	��  a