/[projects]/dao/DelphiScanner/Components/tpsystools_4.04/examples/CBuilder/ExDQueU.h
ViewVC logotype

Contents of /dao/DelphiScanner/Components/tpsystools_4.04/examples/CBuilder/ExDQueU.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2671 - (show annotations) (download)
Tue Aug 25 18:15:15 2015 UTC (8 years, 8 months ago) by torben
File MIME type: text/plain
File size: 2740 byte(s)
Added tpsystools component
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 SysTools
15 // *
16 // * The Initial Developer of the Original Code is
17 // * TurboPower Software
18 // *
19 // * Portions created by the Initial Developer are Copyright (C) 1996-2002
20 // * the Initial Developer. All Rights Reserved.
21 // *
22 // * Contributor(s):
23 // *
24 // * ***** END LICENSE BLOCK *****
25 //---------------------------------------------------------------------------
26 #ifndef ExDQueUH
27 #define ExDQueUH
28 //---------------------------------------------------------------------------
29 #include <vcl\Classes.hpp>
30 #include <vcl\Controls.hpp>
31 #include <vcl\StdCtrls.hpp>
32 #include <vcl\Forms.hpp>
33
34 #include "StDQue.hpp"
35 #include <vcl\Dialogs.hpp>
36
37 //---------------------------------------------------------------------------
38 class TForm1 : public TForm
39 {
40 __published: // IDE-managed Components
41 TButton *CreateBtn;
42 TEdit *Edit1;
43 TButton *PushHeadBtn;
44 TButton *PopHeadBtn;
45 TButton *HeadBtn;
46 TButton *TailBtn;
47 TListBox *LB1;
48 TButton *LoadBtn;
49 TButton *SaveBtn;
50 TButton *ClearBtn;
51 TButton *PushTailBtn;
52 TButton *PopTailBtn;
53 TOpenDialog *OD1;
54 TSaveDialog *SD1;
55 void __fastcall FormCreate(TObject *Sender);
56 void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
57 void __fastcall CreateBtnClick(TObject *Sender);
58 void __fastcall ClearBtnClick(TObject *Sender);
59 void __fastcall PushHeadBtnClick(TObject *Sender);
60 void __fastcall PopHeadBtnClick(TObject *Sender);
61 void __fastcall PushTailBtnClick(TObject *Sender);
62 void __fastcall PopTailBtnClick(TObject *Sender);
63 void __fastcall HeadBtnClick(TObject *Sender);
64 void __fastcall TailBtnClick(TObject *Sender);
65 void __fastcall LoadBtnClick(TObject *Sender);
66 void __fastcall SaveBtnClick(TObject *Sender);
67 private: // User declarations
68 public: // User declarations
69 TStDQue *MyDQue;
70
71 __fastcall TForm1(TComponent* Owner);
72 void FillListBox(void);
73 void UpdateButtons(bool QueOK);
74 };
75 //---------------------------------------------------------------------------
76 extern TForm1 *Form1;
77 //---------------------------------------------------------------------------
78 #endif

  ViewVC Help
Powered by ViewVC 1.1.20