/*************************************************************** * Name: cbprofiler.h * Purpose: Code::Blocks plugin * Author: Dark Lord & Zlika * Created: 07/20/05 11:12:57 * Copyright: (c) Dark Lord & Zlika * Thanks: Yiannis Mandravellos and his Source code formatter (AStyle) sources * License: GPL **************************************************************/ #ifndef CBPROFILER_H #define CBPROFILER_H #if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "cbprofiler.h" #endif // For compilers that support precompilation, includes #include #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include #endif #include #include #include #include #include // the base class we 're inheriting #include // needed to use the Code::Blocks SDK #include // defines some common licenses (like the GPL) #include #include #include #include #include #include "cbprofilerexec.h" #include "cbprofilerconfig.h" /* * Save per pro config, or should I use exe path? * User can make a global variable, or per project? with the name of the file to profile or path (2 vars) * User can chose the target to profile */ class CBProfiler : public cbToolPlugin { public: CBProfiler(); ~CBProfiler(); int Configure(); int Execute(); void OnAttach(); // fires when the plugin is attached to the application void OnRelease(bool appShutDown); // fires when the plugin is released from the application //void ShowDialog(); protected: private: CBProfilerExecDlg* dlg; }; CB_DECLARE_PLUGIN(); #endif // CBPROFILER_H