Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

cbprofiler.h

#ifndef CBPROFILER_H
#define CBPROFILER_H

#include "cbplugin.h" // the base class we 're inheriting

class cbConfigurationPanel;
class CBProfilerExecDlg;
class wxWindow;

/*
 * 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 GetConfigurationGroup() const { return cgCompiler; }
        cbConfigurationPanel* GetConfigurationPanel(wxWindow* parent);
        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();
    private:
        CBProfilerExecDlg* dlg;
};

#endif // CBPROFILER_H


Generated by  Doxygen 1.6.0   Back to index