home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / STREDIT.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  3.4 KB  |  129 lines

  1. //----------------------------------------------------------------------------
  2. // StrEdit.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: StrEdit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef StrEditHPP
  6. #define StrEditHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef MenusHPP
  9. #include <Menus.hpp>
  10. #endif
  11.  
  12. #ifndef ComCtrlsHPP
  13. #include <ComCtrls.hpp>
  14. #endif
  15.  
  16. #ifndef ExtCtrlsHPP
  17. #include <ExtCtrls.hpp>
  18. #endif
  19.  
  20. #ifndef StdCtrlsHPP
  21. #include <StdCtrls.hpp>
  22. #endif
  23.  
  24. #ifndef DsgnIntfHPP
  25. #include <DsgnIntf.hpp>
  26. #endif
  27.  
  28. #ifndef DialogsHPP
  29. #include <Dialogs.hpp>
  30. #endif
  31.  
  32. #ifndef ButtonsHPP
  33. #include <Buttons.hpp>
  34. #endif
  35.  
  36. #ifndef ControlsHPP
  37. #include <Controls.hpp>
  38. #endif
  39.  
  40. #ifndef FormsHPP
  41. #include <Forms.hpp>
  42. #endif
  43.  
  44. #ifndef GraphicsHPP
  45. #include <Graphics.hpp>
  46. #endif
  47.  
  48. #ifndef ClassesHPP
  49. #include <Classes.hpp>
  50. #endif
  51.  
  52. #ifndef WindowsHPP
  53. #include <Windows.hpp>
  54. #endif
  55.  
  56. #ifndef SystemHPP
  57. #include <System.hpp>
  58. #endif
  59.  
  60. namespace Stredit
  61. {
  62. //-- type declarations -------------------------------------------------------
  63. class __declspec(delphiclass) TStrEditDlg;
  64. class __declspec(pascalimplementation) TStrEditDlg : public Forms::TForm
  65. {
  66.     typedef TStrEditDlg ThisClass;
  67.     typedef Forms::TForm inherited;
  68.     
  69. __published:
  70.     Stdctrls::TLabel *LineCount;
  71.     Stdctrls::TButton *CodeWndBtn;
  72.     Dialogs::TOpenDialog *OpenDialog;
  73.     Dialogs::TSaveDialog *SaveDialog;
  74.     Stdctrls::TButton *HelpButton;
  75.     Stdctrls::TButton *OKButton;
  76.     Stdctrls::TButton *CancelButton;
  77.     Comctrls::TRichEdit *Memo;
  78.     Menus::TPopupMenu *StringEditorMenu;
  79.     Menus::TMenuItem *LoadItem;
  80.     Menus::TMenuItem *SaveItem;
  81.     Menus::TMenuItem *CodeEditorItem;
  82.     void __fastcall FileOpen(System::TObject *Sender);
  83.     void __fastcall FileSave(System::TObject *Sender);
  84.     void __fastcall UpdateStatus(System::TObject *Sender);
  85.     void __fastcall FormCreate(System::TObject *Sender);
  86.     void __fastcall Memo1KeyDown(System::TObject *Sender, System::Word &Key,  Classes::TShiftState Shift
  87.         );
  88.     void __fastcall HelpButtonClick(System::TObject *Sender);
  89.     void __fastcall CodeWndBtnClick(System::TObject *Sender);
  90.     
  91. private:
  92.     System::AnsiString SingleLine;
  93.     System::AnsiString MultipleLines;
  94.     System::Boolean FModified;
  95. public:
  96.     /* !! TForm.Create */ __fastcall virtual TStrEditDlg(Classes::TComponent *AOwner) : Forms::TForm(AOwner
  97.         ) { }
  98.     /* !! TForm.CreateNew */ __fastcall TStrEditDlg(Classes::TComponent *AOwner, System::Integer Dummy)
  99.          : Forms::TForm(AOwner, Dummy) { }
  100.     /* !! TForm.Destroy */ __fastcall virtual ~TStrEditDlg(void) { }
  101.     
  102. };
  103.  
  104. class __declspec(delphiclass) TStringListProperty;
  105. class __declspec(pascalimplementation) TStringListProperty : public Dsgnintf::TClassProperty
  106. {
  107.     typedef TStringListProperty ThisClass;
  108.     typedef Dsgnintf::TClassProperty inherited;
  109.     
  110. public:
  111.     virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
  112.     virtual void __fastcall Edit(void);
  113. public:
  114.     /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TStringListProperty(void) { }
  115.     
  116. public:
  117.     /* !! TObject.Create */ __fastcall TStringListProperty(void) : Dsgnintf::TClassProperty() { }
  118.     
  119. };
  120.  
  121. //-- var, const, procedure ---------------------------------------------------
  122.  
  123. }    /* namespace Stredit */
  124. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  125. using namespace Stredit;
  126. #endif
  127. //-- end unit ----------------------------------------------------------------
  128. #endif    // StrEdit
  129.