1 | ///*********************************************************************************************************************
|
---|
2 | /// $Id: DKLangReg.pas,v 1.6 2006/06/17 04:19:28 dale Exp $
|
---|
3 | ///---------------------------------------------------------------------------------------------------------------------
|
---|
4 | /// DKLang Localization Package
|
---|
5 | /// Copyright 2002-2006 DK Software, http://www.dk-soft.org
|
---|
6 | ///*********************************************************************************************************************
|
---|
7 | ///
|
---|
8 | /// The contents of this package are subject to the Mozilla Public License
|
---|
9 | /// Version 1.1 (the "License"); you may not use this file except in compliance
|
---|
10 | /// with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
|
---|
11 | ///
|
---|
12 | /// Alternatively, you may redistribute this library, use and/or modify it under the
|
---|
13 | /// terms of the GNU Lesser General Public License as published by the Free Software
|
---|
14 | /// Foundation; either version 2.1 of the License, or (at your option) any later
|
---|
15 | /// version. You may obtain a copy of the LGPL at http://www.gnu.org/copyleft/
|
---|
16 | ///
|
---|
17 | /// Software distributed under the License is distributed on an "AS IS" basis,
|
---|
18 | /// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
|
---|
19 | /// specific language governing rights and limitations under the License.
|
---|
20 | ///
|
---|
21 | /// The initial developer of the original code is Dmitry Kann, http://www.dk-soft.org/
|
---|
22 | ///
|
---|
23 | ///**********************************************************************************************************************
|
---|
24 | // Component, expert and component editor registration routines
|
---|
25 | //
|
---|
26 | unit DKLangReg;
|
---|
27 |
|
---|
28 | interface
|
---|
29 |
|
---|
30 | procedure Register;
|
---|
31 |
|
---|
32 | implementation
|
---|
33 | {$R *.dcr}
|
---|
34 | uses SysUtils, Classes, DesignEditors, DesignIntf, ToolsAPI, DKLang, DKL_Expt;
|
---|
35 |
|
---|
36 | //====================================================================================================================
|
---|
37 | // Component, Property and Editor registration
|
---|
38 | //====================================================================================================================
|
---|
39 |
|
---|
40 | procedure Register;
|
---|
41 | begin
|
---|
42 | RegisterComponents('System', [TDKLanguageController]);
|
---|
43 | // Register expert
|
---|
44 | RegisterPackageWizard(DKLang_CreateExpert);
|
---|
45 | RegisterComponentEditor(TDKLanguageController, TDKLangControllerEditor);
|
---|
46 | end;
|
---|
47 |
|
---|
48 | end.
|
---|