/*************************************************************** * Name: codestat.h * Purpose: Code::Blocks plugin * Author: Zlika * Created: 11/09/2005 * Copyright: (c) Zlika * License: GPL **************************************************************/ #ifndef CODESTAT_H #define CODESTAT_H // For compilers that support precompilation, includes #include #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include #endif #include // defines some common licenses (like the GPL) #include #include #include #include // the base class we 're inheriting #include // needed to use the Code::Blocks SDK #include #include #include #include #include "codestatexec.h" #include "codestatconfig.h" #include "language_def.h" class CodeStat : public cbToolPlugin { public: CodeStat(); ~CodeStat(); 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 protected: private: void LoadSettings(LanguageDef languages[NB_FILETYPES]); CodeStatExecDlg* dlg; }; CB_DECLARE_PLUGIN(); #endif // CODESTAT_H