home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // clssdlph.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: clssdlph.pas
- //----------------------------------------------------------------------------
- #ifndef clssdlphHPP
- #define clssdlphHPP
- //----------------------------------------------------------------------------
- #include <Registry.hpp>
- #include <BtsClass.hpp>
- #include <about.hpp>
- #include <Bde.hpp>
- #include <Buttons.hpp>
- #include <CodePage.hpp>
- #include <StdCtrls.hpp>
- #include <RichEdit.hpp>
- #include <ComCtrls.hpp>
- #include <Menus.hpp>
- #include <DBCtrls.hpp>
- #include <ExtCtrls.hpp>
- #include <DBGrids.hpp>
- #include <Grids.hpp>
- #include <DBTables.hpp>
- #include <DB.hpp>
- #include <Dialogs.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <System.hpp>
- namespace Clssdlph
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TExtractObjects;
- class __declspec(pascalimplementation) TExtractObjects : public System::TObject
- {
- typedef System::TObject inherited;
-
- public:
- void __fastcall ExtractObjectNameAndType(int StartPosition, int EndPosition, System::AnsiString LineString
- , System::AnsiString Phase);
-
- protected:
- System::AnsiString ObjectName;
- System::AnsiString ObjectType;
- int LastCommaPosition;
- public:
- /* TObject.Create */ __fastcall TExtractObjects(void) : System::TObject() { }
- /* TObject.Destroy */ __fastcall virtual ~TExtractObjects(void) { }
-
- };
-
- class __declspec(delphiclass) TSearchEngine;
- class __declspec(pascalimplementation) TSearchEngine : public System::TObject
- {
- typedef System::TObject inherited;
-
- public:
- void __fastcall SearchForString( System::AnsiString Word, int Occurance, int StartPosition, System::AnsiString
- Page);
-
- protected:
- long PositionFound;
- long LineNumberFound;
- long LineFoundPositionOne;
- long NewSearchPosition;
- public:
- /* TObject.Create */ __fastcall TSearchEngine(void) : System::TObject() { }
- /* TObject.Destroy */ __fastcall virtual ~TSearchEngine(void) { }
-
- };
-
- class __declspec(delphiclass) TMainDlg;
- class __declspec(pascalimplementation) TMainDlg : public Forms::TForm
- {
- typedef Forms::TForm inherited;
-
- __published:
- Dbtables::TTable* VCLTable;
- Db::TDataSource* DataSource1;
- Menus::TMainMenu* MainMenu1;
- Menus::TMenuItem* File1;
- Stdctrls::TLabel* DisplayTblLabel;
- Menus::TMenuItem* New1;
- Menus::TMenuItem* Open1;
- Menus::TMenuItem* Save1;
- Menus::TMenuItem* SaveAs1;
- Dbtables::TQuery* DestTblQuery;
- Dbtables::TTable* DestTable;
- Menus::TMenuItem* Search1;
- Menus::TMenuItem* Windows1;
- Menus::TMenuItem* Help1;
- Dialogs::TOpenDialog* FileOPenDlg;
- Dbtables::TQuery* DisplayTblQuery;
- Menus::TMenuItem* SaveAll1;
- Menus::TMenuItem* Project1;
- Menus::TMenuItem* Project2;
- Dbtables::TTable* HeaderParser;
- Menus::TMenuItem* WIN32Table1;
- Menus::TPopupMenu* PopupMenu5;
- Menus::TMenuItem* ViewHeader2;
- Menus::TMenuItem* EditHeader2;
- Menus::TMenuItem* ViewSource1;
- Menus::TMenuItem* About1;
- Dbtables::TStringField* HeaderParserHeaderName;
- Dbtables::TBooleanField* HeaderParserParse;
- Dbtables::TBatchMove* BatchMove1;
- Dbtables::TTable* ParseVclTable;
- Dbtables::TTable* Errorlogging;
- Dbtables::TStringField* ErrorloggingUser;
- Dbtables::TStringField* ErrorloggingClassName;
- Dbtables::TStringField* ErrorloggingListBoxText;
- Dbtables::TStringField* ErrorloggingMemberName;
- Dbtables::TTable* ClassListTab;
- Dbtables::TStringField* ClassListTabClassName;
- Extctrls::TPanel* Panel4;
- Comctrls::TRichEdit* DeclarationRichEdit;
- Extctrls::TPanel* Panel5;
- Comctrls::TRichEdit* SourceEntryPage;
- Dbgrids::TDBGrid* DBGrid1;
- Extctrls::TPanel* Panel6;
- Extctrls::TPanel* Panel7;
- Comctrls::TPageControl* PageControl1;
- Extctrls::TPanel* Panel8;
- Stdctrls::TListBox* QuickClassListbox;
- Extctrls::TPanel* Panel1;
- Extctrls::TPanel* Panel2;
- Dbctrls::TDBNavigator* DBNavigator1;
- Menus::TMenuItem* Print1;
- Menus::TMenuItem* PrintDefinition1;
- Dialogs::TPrintDialog* PrintDialog1;
- Menus::TMenuItem* ParseallHeaders1;
- Extctrls::TTimer* Timer2;
- Db::TDatabase* ClassOrgDB;
- Menus::TMenuItem* Grid;
- Menus::TMenuItem* Declaration;
- Menus::TMenuItem* Definition;
- Menus::TMenuItem* QuickClassBox;
- Menus::TMenuItem* MemberList;
- Menus::TMenuItem* ChangeFonts;
- Dialogs::TFontDialog* FontDialog1;
- Menus::TMenuItem* ChangeBkGround;
- Menus::TMenuItem* HeaderPage1;
- Menus::TMenuItem* Declaration1;
- Menus::TMenuItem* Definition1;
- Menus::TMenuItem* QuickClassBox1;
- Menus::TMenuItem* MemberList1;
- Dialogs::TColorDialog* ColorDialog1;
- Stdctrls::TLabel* Label1;
- Stdctrls::TLabel* Label2;
- Stdctrls::TLabel* Label3;
- Stdctrls::TLabel* Label4;
- Comctrls::TListView* MainListBox;
- Controls::TImageList* ImageList1;
- Dbtables::TStringField* DestTableClassName;
- Dbtables::TStringField* DestTableMember;
- Dbtables::TStringField* DestTableMemberName;
- Dbtables::TAutoIncField* DestTableRecNum;
- Dbtables::TStringField* DestTableScope;
- Dbtables::TStringField* DestTableReturnType;
- Dbtables::TStringField* DestTableHeader;
- Dbtables::TSmallintField* DestTablePs;
- Dbtables::TStringField* DestTablePType1;
- Dbtables::TStringField* DestTablePObject1;
- Dbtables::TStringField* DestTablePType2;
- Dbtables::TStringField* DestTablePObject2;
- Dbtables::TStringField* DestTablePType3;
- Dbtables::TStringField* DestTablePObject3;
- Dbtables::TStringField* DestTablePType4;
- Dbtables::TStringField* DestTablePObject4;
- Dbtables::TStringField* DestTablePType5;
- Dbtables::TStringField* DestTablePObject5;
- Dbtables::TStringField* DestTablePType6;
- Dbtables::TStringField* DestTablePObject6;
- Dbtables::TStringField* DestTablePType7;
- Dbtables::TStringField* DestTablePObject7;
- Dbtables::TStringField* DestTablePType8;
- Dbtables::TStringField* DestTablePObject8;
- Dbtables::TStringField* DestTableSecondClass;
- Dbtables::TStringField* DestTableMisc;
- Dbtables::TStringField* VCLTableClassName;
- Dbtables::TStringField* VCLTableMember;
- Dbtables::TStringField* VCLTableMemberName;
- Dbtables::TAutoIncField* VCLTableRecNum;
- Dbtables::TStringField* VCLTableScope;
- Dbtables::TStringField* VCLTableReturnType;
- Dbtables::TStringField* VCLTableHeader;
- Dbtables::TSmallintField* VCLTablePs;
- Dbtables::TStringField* VCLTablePType1;
- Dbtables::TStringField* VCLTablePObject1;
- Dbtables::TStringField* VCLTablePType2;
- Dbtables::TStringField* VCLTablePObject2;
- Dbtables::TStringField* VCLTablePType3;
- Dbtables::TStringField* VCLTablePObject3;
- Dbtables::TStringField* VCLTablePType4;
- Dbtables::TStringField* VCLTablePObject4;
- Dbtables::TStringField* VCLTablePType5;
- Dbtables::TStringField* VCLTablePObject5;
- Dbtables::TStringField* VCLTablePType6;
- Dbtables::TStringField* VCLTablePObject6;
- Dbtables::TStringField* VCLTablePType7;
- Dbtables::TStringField* VCLTablePObject7;
- Dbtables::TStringField* VCLTablePType8;
- Dbtables::TStringField* VCLTablePObject8;
- Dbtables::TStringField* VCLTableSecondClass;
- Dbtables::TStringField* VCLTableMisc;
- Menus::TMenuItem* CloseActivePage1;
- Menus::TMenuItem* CloseAllPages2;
- Menus::TMenuItem* ShowNextDerivation2;
- Menus::TMenuItem* SearchByMemberName1;
- Menus::TMenuItem* SearchByClassName1;
- Menus::TMenuItem* N1;
- Menus::TMenuItem* N3;
- Menus::TMenuItem* N4;
- Menus::TMenuItem* N5;
- Menus::TMenuItem* ClassName1;
- Menus::TMenuItem* LoadVCLHeader1;
- Menus::TMenuItem* PrintHeaderhpp1;
- Menus::TMenuItem* PrintSourcepas1;
- Menus::TMenuItem* Grid1;
- Menus::TMenuItem* HeaderPage;
- Menus::TMenuItem* Exit1;
- void __fastcall SelectaTab(System::TObject* Sender);
- void __fastcall MainSetupWindow(System::TObject* Sender);
- void __fastcall RebuildVCLTable(System::TObject* Sender);
- void __fastcall MainDlgOnShow(System::TObject* Sender);
- void __fastcall MoveToClass(System::TObject* Sender);
- void __fastcall SearchMemberName1Click(System::TObject* Sender);
- void __fastcall ViewHeader1Click(System::TObject* Sender);
- void __fastcall ShowRecordClass1Click(System::TObject* Sender);
- void __fastcall About1Click(System::TObject* Sender);
- void __fastcall SearchClassName1Click(System::TObject* Sender);
- void __fastcall ViewSource1Click(System::TObject* Sender);
- void __fastcall FormResize(System::TObject* Sender);
- void __fastcall Print1Click(System::TObject* Sender);
- void __fastcall PrintDefinition1Click(System::TObject* Sender);
- void __fastcall HeaderSource1Click(System::TObject* Sender);
- void __fastcall ParseaNewHeader1Click(System::TObject* Sender);
- void __fastcall ClosePageClick(System::TObject* Sender);
- void __fastcall CloseAllPages1Click(System::TObject* Sender);
- void __fastcall FormActivate(System::TObject* Sender);
- void __fastcall ChangeFontsClick(System::TObject* Sender);
- void __fastcall ChangeBkGroundClick(System::TObject* Sender);
- void __fastcall MainListBoxClick(System::TObject* Sender);
- void __fastcall ShowNextDerivation1Click(System::TObject* Sender);
- void __fastcall PrintHeaderhpp1Click(System::TObject* Sender);
- void __fastcall PrintSourcepas1Click(System::TObject* Sender);
- void __fastcall Project1Click(System::TObject* Sender);
- void __fastcall FormClose(System::TObject* Sender, Forms::TCloseAction &Action);
- void __fastcall Exit1Click(System::TObject* Sender);
- void __fastcall MainListBoxKeyUp(System::TObject* Sender, Word &Key, Classes::TShiftState Shift);
-
- private:
- bool InitializedTable;
- bool DoesFileExist;
- bool MemberSearch;
- System::AnsiString CurrentSecondClass;
- System::AnsiString LocalVclSource;
- System::AnsiString LocalTablesDir;
- System::AnsiString LocalVclHeaders;
- int DefinitionLength;
- System::AnsiString PasSourceFileName;
- bool LocateSuccess;
- Btsclass::TCloneTable* RawVCLTable;
- System::AnsiString UserName;
- System::AnsiString CurrentHeaderFileName;
- System::AnsiString CurrentSourceFileName;
- Db::TLocateOptions MySearchOptions;
- long EndLineNum;
- bool DefinitionEditMode;
- bool DeclarationEditMode;
- System::SmallString<40> CurrentSelectedMemberName;
- bool FileOpenActive;
- System::SmallString<40> ClassFinderSelectedItem;
- System::SmallString<40> CurrentTabClassName;
- void __fastcall WriteRegistryKeys(void);
- void __fastcall ProcessSelectedClass(void);
- void __fastcall LoadSourcePage(void);
- void __fastcall GetRegistryInfo(void);
- void __fastcall LoadDefinitionSource( System::AnsiString MemberType);
- void __fastcall LoadDeclarationSource( System::AnsiString ListBoxString);
- int __fastcall DetermineImageIndex( System::AnsiString Scope, System::AnsiString Member);
- bool __fastcall IsItABadLine( System::AnsiString Line, int DefinedLineNumber);
- void __fastcall ExtractClassMembers(int ClassPosition, System::AnsiString ClassName);
- void __fastcall ConvertCppToDestTable(void);
- void __fastcall QueryDispTbl_LoadQuickList(void);
- void __fastcall StringToTablePos( System::AnsiString SelectedText, System::AnsiString ClassName);
- void __fastcall ConvertTableToTabs(void);
- void __fastcall TableToListStrings( System::AnsiString ClassName);
- void __fastcall MemberToTable( System::AnsiString MemberDeclaration, System::AnsiString MyScope, System::AnsiString
- CppClassName, int MemberLineNumber);
- public:
- /* TForm.Create */ __fastcall virtual TMainDlg(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
-
- /* TForm.CreateNew */ __fastcall TMainDlg(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner
- , Dummy) { }
- /* TForm.Destroy */ __fastcall virtual ~TMainDlg(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TMainDlg(HWND ParentWindow) : Forms::TForm(ParentWindow
- ) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern TMainDlg* MainDlg;
- //-- template instantiations -------------------------------------------------
- template class SmallString<40> ;
- template class Db::TLocateOptions ;
-
- } /* namespace Clssdlph */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Clssdlph;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // clssdlph
-