~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/contrib/codestat/codestat.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************
 
2
 * Name:      codestat.h
 
3
 * Purpose:   Code::Blocks CodeStat plugin: main functions
 
4
 * Author:    Zlika
 
5
 * Created:   11/09/2005
 
6
 * Copyright: (c) Zlika
 
7
 * License:   GPL
 
8
 **************************************************************/
 
9
 
 
10
#ifndef CODESTAT_H
 
11
#define CODESTAT_H
 
12
 
 
13
#include "cbplugin.h" // the base class we 're inheriting
 
14
 
 
15
class cbConfigurationPanel;
 
16
class CodeStatExecDlg;
 
17
class wxWindow;
 
18
 
 
19
/** Main class for the Code Statistics plugin.
 
20
 *  @see CodeStatConfigDlg, CodeStatExecDlg, LanguageDef
 
21
 */
 
22
class CodeStat : public cbToolPlugin
 
23
{
 
24
        public:
 
25
                CodeStat();
 
26
                ~CodeStat();
 
27
                int GetConfigurationGroup()  const { return cgEditor; }
 
28
        cbConfigurationPanel* GetConfigurationPanel(wxWindow* parent);
 
29
                int Execute();
 
30
                void OnAttach(); // fires when the plugin is attached to the application
 
31
                void OnRelease(bool appShutDown); // fires when the plugin is released from the application
 
32
        private:
 
33
      CodeStatExecDlg* dlg;
 
34
};
 
35
 
 
36
#endif // CODESTAT_H