1
0
mirror of synced 2024-11-22 03:13:51 +00:00
unitswitcher/Source/UnSwReg.pas
2010-02-16 12:39:29 +00:00

36 lines
638 B
ObjectPascal

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.