//--------------------------------------------------------------------------- #ifndef FrmVmsLogFH #define FrmVmsLogFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- #include "ITSLogF.h" #include "AppGlobalF.h" //--------------------------------------------------------------------------- class TFrmVmsLog : public TForm { __published: // IDE-managed Components TPanel *plServerInfo; TPanel *Panel1; TImage *Image1; TPanel *Panel2; TCheckBox *chkLogPause; TButton *btnClear; TButton *btnCopy; TMemo *reMsg; TPanel *Panel4; TPanel *Panel6; TImage *Image2; TCheckBox *chkInfo; TCheckBox *chkData; TCheckBox *chkDetail; TCheckBox *chkError; TCheckBox *chkWarning; TCheckBox *chkDebug; TButton *btnSetLog; TCheckBox *chkServer; TCheckBox *chkClient; void __fastcall btnClearClick(TObject *Sender); void __fastcall btnCopyClick(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall btnSetLogClick(TObject *Sender); private: // User declarations int FVmsIdx; LOG_INFO FLogCfg; AnsiString FVmsId; TVmsCtlr *FVmsCtlr; public: public: // User declarations __fastcall TFrmVmsLog(TComponent* Owner); void __fastcall DisplayVmsLog(int AVmsIdx=-1); void LogWrite(IPC_LOG_MESSAGE *ALog); void LogData(IPC_LOG_MESSAGE *ALog); void __fastcall OnWMLogDisplayMessage(TMessage &Msg); BEGIN_MESSAGE_MAP MESSAGE_HANDLER(WM_LOG_DISPLAY, TMessage, OnWMLogDisplayMessage) END_MESSAGE_MAP(TForm) }; //--------------------------------------------------------------------------- extern PACKAGE TFrmVmsLog *FrmVmsLog; //--------------------------------------------------------------------------- #endif