/* * GExperts Debug Window Interface * http://www.gexperts.org * * You are free to use this code in any application to send commands to the * GExperts debug window. This includes usage in commercial, shareware, * freeware, public domain, and other applications. */ //--------------------------------------------------------------------------- #ifndef DbugIntfH #define DbugIntfH //--------------------------------------------------------------------------- #include #include // We need "Dialogs" for TMsgDlgType //--------------------------------------------------------------------------- void __fastcall SendBoolean(const String Identifier, const bool Value); void __fastcall SendDateTime(const String Identifier, const TDateTime Value); void __fastcall SendDebugEx(const String Msg, TMsgDlgType MType); void __fastcall SendDebug(const String Msg); void __fastcall SendDebugClear(void); void __fastcall SendInteger(const String Identifier, const int Value); void __fastcall SendMethodEnter(const String MethodName); void __fastcall SendMethodExit(const String MethodName); void __fastcall SendSeparator(void); void __fastcall SendDebugFmt(const String MsgArgs, const System::TVarRec *Args, const int Args_Size); void __fastcall SendDebugFmtEx(const String MsgArgs, const System::TVarRec *Args, const int Args_Size, TMsgDlgType MType); HWND __fastcall StartDebugWin(void); void __fastcall SendDebugPause(void); void __fastcall SendDebugResume(void); //--------------------------------------------------------------------------- #endif