236 lines
10 KiB
ObjectPascal

(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is TurboPower Abbrevia
*
* The Initial Developer of the Original Code is
* TurboPower Software
*
* Portions created by the Initial Developer are Copyright (C) 1997-2002
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* ***** END LICENSE BLOCK ***** *)
{*********************************************************}
{* ABBREVIA: AbRegClx.pas *}
{*********************************************************}
{* ABBREVIA: Registrations (CLX) *}
{*********************************************************}
unit AbRegClx;
{$I AbDefine.inc}
{$DEFINE UsingCLX}
{$R AbReg.res}
interface
{$IFDEF LINUX}
!! Error, this unit is for CLX on Windows, use AbRegLinux.pas for Linux
{$ENDIF}
uses
Classes,
AbCBrows, AbCabExt, AbCabMak, AbCabKit,
AbZBrows, AbUnzper, AbZipper, AbZipKit, AbSelfEx,
AbQCView, AbQZpOut, AbQView, AbQZView, AbQMeter;
procedure Register;
implementation
uses
AbUtils,
AbQPeDir,
AbQPeFn,
AbQPePas,
AbQPeVer,
AbQPeCol,
AbQDgDir,
AbQDgPwd,
DesignIntf,
DesignEditors,
SysUtils;
procedure Register;
begin
RegisterPropertyEditor( TypeInfo( string ), TAbZipBrowser, 'FileName',
TAbFileNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipper, 'FileName',
TAbFileNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbUnZipper, 'FileName',
TAbFileNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipKit, 'FileName',
TAbFileNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'FileName',
TAbFileNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipBrowser, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipper, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbUnZipper, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipKit, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMakeSelfExe, 'SelfExe',
TAbExeNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMakeSelfExe, 'StubExe',
TAbExeNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMakeSelfExe, 'ZipFile',
TAbFileNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipBrowser, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipper, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbUnZipper, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipKit, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipBrowser, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipper, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbUnZipper, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipKit, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipBrowser, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipper, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbUnZipper, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipKit, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipView, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMeter, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMakeSelfExe, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipBrowser, 'Password',
TAbPasswordProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipper, 'Password',
TAbPasswordProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbUnZipper, 'Password',
TAbPasswordProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipKit, 'Password',
TAbPasswordProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'Password',
TAbPasswordProperty );
RegisterPropertyEditor( TypeInfo( TAbColHeadings ), TAbZipView, 'Headings',
TAbColHeadingsProperty );
{$IFDEF MSWINDOWS}
RegisterPropertyEditor( TypeInfo( string ), TAbCabBrowser, 'FileName',
TAbCabNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMakeCab, 'FileName',
TAbCabNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabExtractor, 'FileName',
TAbCabNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabKit, 'FileName',
TAbCabNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabBrowser, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMakeCab, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabExtractor, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabKit, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabBrowser, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMakeCab, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabExtractor, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabKit, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabBrowser, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMakeCab, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabExtractor, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabKit, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabBrowser, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbMakeCab, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabExtractor, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabKit, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbCabView, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( TAbColHeadings ), TAbCabView, 'Headings',
TAbColHeadingsProperty );
{$ENDIF}
RegisterComponents( 'Abbrevia',
[ TAbZipBrowser,
TAbUnzipper,
TAbZipper,
TAbZipKit,
TAbZipView,
TAbZipOutline,
{$IFDEF MSWINDOWS}
TAbCabBrowser,
TAbCabExtractor,
TAbMakeCab,
TAbCabKit,
TAbCabView,
{$ENDIF}
TAbMeter,
TAbMakeSelfExe ]);
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'FileName',
TAbFileNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'LogFile',
TAbLogNameProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'BaseDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'TempDirectory',
TAbDirectoryProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipOutline, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( string ), TAbZipView, 'Version',
TAbVersionProperty );
RegisterPropertyEditor( TypeInfo( TAbColHeadings ), TAbZipView, 'Headings',
TAbColHeadingsProperty );
RegisterComponents( 'Abbrevia',
[
TAbMeter,
TAbCabView,
TAbZipView,
TAbZipOutline
]);
end;
end.