Debian Codegraph @

plugins/wcx/zip/src/fparchive/abbase.pas

raw
1 (* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is TurboPower Abbrevia
15 *
16 * The Initial Developer of the Original Code is
17 * TurboPower Software
18 *
19 * Portions created by the Initial Developer are Copyright (C) 1997-2002
20 * the Initial Developer. All Rights Reserved.
21 *
22 * Contributor(s):
23 *
24 * ***** END LICENSE BLOCK ***** *)
25
26 {*********************************************************}
27 {* ABBREVIA: AbBase.pas *}
28 {*********************************************************}
29 {* ABBREVIA: Base component class *}
30 {*********************************************************}
31
32 unit AbBase;
33
34 {$I AbDefine.inc}
35
36 interface
37
38 uses
39 Classes;
40
41 type
42 TAbBaseComponent = class(TComponent)
43 protected {methods}
44 function GetVersion : string;
45 procedure SetVersion(const Value : string);
46
47 protected {properties}
48 property Version : string
49 read GetVersion
50 write SetVersion
51 stored False;
52 end;
53
54 implementation
55
56 uses
57 AbConst;
58
59 { -------------------------------------------------------------------------- }
60 function TAbBaseComponent.GetVersion : string;
61 begin
62 Result := AbVersionS;
63 end;
64 { -------------------------------------------------------------------------- }
65 procedure TAbBaseComponent.SetVersion(const Value : string);
66 begin
67 {NOP}
68 end;
69
70 end.