1
0
mirror of synced 2024-11-15 00:43:50 +00:00
unitswitcher/Source/UnSwReg.pas

36 lines
638 B
ObjectPascal
Raw Normal View History

unit UnSwReg;
{$I BaseSwDefines.inc}
interface
implementation
uses
SysUtils,
CmpSwClient,
ProjSwClient,
UnSwClient;
var
GComponentSwitcher: TComponentSwitcherHook;
GUnitSwitcher: TUnitSwitcherHook;
GProjectSwitcher: TProjectSwitcherHook;
initialization
GComponentSwitcher := TComponentSwitcherHook.Create;
GUnitSwitcher := TUnitSwitcherHook.Create;
{$IFNDEF DELPHI7ORLOWER}
GProjectSwitcher := TProjectSwitcherHook.Create;
{$ENDIF}
finalization
FreeAndNil(GProjectSwitcher);
FreeAndNil(GUnitSwitcher);
FreeAndNil(GComponentSwitcher);
end.