Clean header includes

This commit is contained in:
Grégory Soutadé 2011-08-20 11:43:12 +02:00
parent fc3093d176
commit ad29793f8c
39 changed files with 123 additions and 105 deletions

View File

@ -66,7 +66,7 @@ enum {DOUBLE_POINTED=1, INVALID_CHAR, INVALID_PARENTHESIS, INVALID_OPERATION};
#define P(x) #define P(x)
#endif #endif
double atof(char* s, int size) static double atof(char* s, int size)
{ {
int neg = 0; int neg = 0;
double res = 0; double res = 0;
@ -94,7 +94,7 @@ double atof(char* s, int size)
return res; return res;
} }
void ParseExp(char** expr, struct parse_opt* root, bool needParenthesis) void ParseExp::ParseExp(char** expr, struct parse_opt* root, bool needParenthesis)
{ {
char* temp; char* temp;
bool pointed = false; bool pointed = false;
@ -256,7 +256,7 @@ void ParseExp(char** expr, struct parse_opt* root, bool needParenthesis)
return ; return ;
} }
double EvaluateExpr(struct parse_opt* root, bool del) double ParseExp::EvaluateExpr(struct parse_opt* root, bool del)
{ {
double l, r; double l, r;
char type; char type;
@ -304,6 +304,7 @@ double EvaluateExpr(struct parse_opt* root, bool del)
} }
#ifdef DEBUG #ifdef DEBUG
using namespace ParseExp;
int main() int main()
{ {

View File

@ -17,6 +17,8 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
namespace ParseExp {
struct parse_opt { struct parse_opt {
struct parse_opt* root; struct parse_opt* root;
char type; char type;
@ -27,3 +29,5 @@ struct parse_opt {
void ParseExp(char** expr, struct parse_opt* root, bool needParenthesis); void ParseExp(char** expr, struct parse_opt* root, bool needParenthesis);
double EvaluateExpr(struct parse_opt* root, bool del); double EvaluateExpr(struct parse_opt* root, bool del);
};

View File

@ -17,8 +17,14 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <fstream>
#include <iostream>
#include <algorithm>
#include "KissCount.h" #include "KissCount.h"
#include <view/view.h>
std::vector<ImportEngine*> * KissCount::_importEngines; std::vector<ImportEngine*> * KissCount::_importEngines;
std::vector<ExportEngine*> * KissCount::_exportEngines; std::vector<ExportEngine*> * KissCount::_exportEngines;

View File

@ -20,17 +20,16 @@
#ifndef KISSCOUNT_H #ifndef KISSCOUNT_H
#define KISSCOUNT_H #define KISSCOUNT_H
#include <fstream>
#include <iostream>
#include <list> #include <list>
#include <model/import/ImportEngine.h> #include <model/import/ImportEngine.h>
#include <model/export/ExportEngine.h> #include <model/export/ExportEngine.h>
#include <model/model.h> #include <model/model.h>
#include <view/wxUI.h>
#include <wx/display.h> #include <wx/display.h>
#include <view/wxUI.h>
#define APP_VERSION "0.3" #define APP_VERSION "0.3"
#define ESCAPE_CHARS(s) { \ #define ESCAPE_CHARS(s) { \

View File

@ -17,7 +17,8 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "main.h" #include <wx/wx.h>
#include <controller/KissCount.h>
class MyApp: public wxApp class MyApp: public wxApp
{ {

View File

@ -1,26 +0,0 @@
/*
Copyright 2010-2011 Grégory Soutadé
This file is part of KissCount.
KissCount is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
KissCount is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MAIN_H
#define MAIN_H
#include <wx/wx.h>
#include <controller/KissCount.h>
#endif

View File

@ -17,6 +17,11 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <fstream>
#include <wx/filename.h>
#include <wx/file.h>
#include <sha1.h>
#include "Database.h" #include "Database.h"
static inline wxString DoubleToString(double d) static inline wxString DoubleToString(double d)

View File

@ -20,15 +20,9 @@
#ifndef DATABASE_H #ifndef DATABASE_H
#define DATABASE_H #define DATABASE_H
#include <stdio.h>
#include <fstream>
#include <list> #include <list>
#include <wx/wxsqlite3.h> #include <wx/wxsqlite3.h>
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/utils.h>
#include <wx/filename.h>
#include <wx/file.h>
#include <sha1.h>
#include <controller/KissCount.h> #include <controller/KissCount.h>
#include "model.h" #include "model.h"

View File

@ -17,6 +17,8 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <algorithm>
#include <view/view.h>
#include "User.h" #include "User.h"
User::User(Database* db) : _db(db) User::User(Database* db) : _db(db)

View File

@ -23,7 +23,6 @@
#include <map> #include <map>
#include <vector> #include <vector>
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/colour.h>
#include "Category.h" #include "Category.h"
#include "Account.h" #include "Account.h"

View File

@ -17,6 +17,9 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <libxml/encoding.h>
#include <libxml/xmlwriter.h>
#include "XMLExportEngine.h" #include "XMLExportEngine.h"
static XMLExportEngine xmlExportEngine; static XMLExportEngine xmlExportEngine;

View File

@ -20,9 +20,6 @@
#ifndef XMLEXPORTENGINE_H #ifndef XMLEXPORTENGINE_H
#define XMLEXPORTENGINE_H #define XMLEXPORTENGINE_H
#include <libxml/encoding.h>
#include <libxml/xmlwriter.h>
#include <model/model.h> #include <model/model.h>
#include <controller/KissCount.h> #include <controller/KissCount.h>
#include "ExportEngine.h" #include "ExportEngine.h"

View File

@ -19,6 +19,8 @@
#include "GrisbiImportEngine.h" #include "GrisbiImportEngine.h"
#include <view/view.h>
static GrisbiImportEngine grisbiImportEngine; static GrisbiImportEngine grisbiImportEngine;
void GrisbiImportEngine::LoadAccount(GrisbiImportEngine* _this, const char** attrs) void GrisbiImportEngine::LoadAccount(GrisbiImportEngine* _this, const char** attrs)

View File

@ -17,6 +17,8 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <algorithm>
#include "ImportEngine.h" #include "ImportEngine.h"
wxString ImportEngine::NULL_IMPORT_PATTERN = wxT("(nil)"); wxString ImportEngine::NULL_IMPORT_PATTERN = wxT("(nil)");

View File

@ -17,6 +17,9 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "grid/wxGridCellBitmapRenderer.h"
#include "GenerateDialog.h"
#include "AccountPanel.h" #include "AccountPanel.h"
enum {ACCOUNT_NUMBER, ACCOUNT_NAME, ACCOUNT_INIT, ACCOUNT_CUR, ACCOUNT_FINAL, NUMBER_COLS_ACCOUNTS}; enum {ACCOUNT_NUMBER, ACCOUNT_NAME, ACCOUNT_INIT, ACCOUNT_CUR, ACCOUNT_FINAL, NUMBER_COLS_ACCOUNTS};

View File

@ -26,16 +26,17 @@
#include <wx/pie/pieplot.h> #include <wx/pie/pieplot.h>
#include <wx/chartpanel.h> #include <wx/chartpanel.h>
#include <wx/radiobox.h> #include <wx/radiobox.h>
#include "grid/CalendarEditor.h"
#include "grid/wxGridCellBitmapRenderer.h"
#include "view.h" #include "view.h"
#include <controller/KissCount.h> //#include <controller/KissCount.h>
#include <model/model.h> #include <model/model.h>
#include "grid/GridAccount.h" #include "grid/GridAccount.h"
#include "grid/CalendarEditor.h"
#include <wx/category/categorysimpledataset.h> #include <wx/category/categorysimpledataset.h>
class GridAccount;
class AccountPanel: public KissPanel class AccountPanel: public KissPanel
{ {
public: public:

View File

@ -17,6 +17,8 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "grid/CalendarEditor.h"
#include "grid/wxGridCellBitmapRenderer.h"
#include "ExportPanel.h" #include "ExportPanel.h"
enum {EXPORT_ID=1, SEARCH_ID, GRID_ID}; enum {EXPORT_ID=1, SEARCH_ID, GRID_ID};

View File

@ -25,8 +25,6 @@
#include <wx/treectrl.h> #include <wx/treectrl.h>
#include <wx/scrolwin.h> #include <wx/scrolwin.h>
#include "view.h" #include "view.h"
#include "grid/CalendarEditor.h"
#include "grid/wxGridCellBitmapRenderer.h"
#include "grid/GridAccount.h" #include "grid/GridAccount.h"
#include "SearchBanner.h" #include "SearchBanner.h"
#include <model/model.h> #include <model/model.h>

View File

@ -17,6 +17,10 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <wx/choice.h>
#include <wx/textctrl.h>
#include <wx/gbsizer.h>
#include "GenerateDialog.h" #include "GenerateDialog.h"
enum {BUTTON_OK_ID=1, BUTTON_CANCEL_ID, YEAR_FROM_ID, MONTH_FROM_ID, YEAR_TO_ID, MONTH_TO_ID}; enum {BUTTON_OK_ID=1, BUTTON_CANCEL_ID, YEAR_FROM_ID, MONTH_FROM_ID, YEAR_TO_ID, MONTH_TO_ID};

View File

@ -20,15 +20,14 @@
#ifndef GENERATEDIALOG_H #ifndef GENERATEDIALOG_H
#define GENERATEDIALOG_H #define GENERATEDIALOG_H
#include <list> #include <map>
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/choice.h>
#include <wx/textctrl.h>
#include <controller/KissCount.h> #include <controller/KissCount.h>
#include "wxUI.h"
#include <model/model.h> #include <model/model.h>
#include "wxUI.h"
class wxUI; class wxUI;
class KissCount; class KissCount;

View File

@ -17,6 +17,16 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <wx/colordlg.h>
#include <wx/fontdlg.h>
#include <wx/treectrl.h>
#include <wx/statbox.h>
#include <wx/gbsizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/bmpcbox.h>
#include <wx/grid.h>
#include "ImportPanel.h" #include "ImportPanel.h"
enum {OPEN_FILE_ID=1, BUTTON_OPEN_ID, NAME_ID, BUTTON_LOAD_ID, BUTTON_INTEGRATE_ID, CHECK_SAVE_ID, OPS_GRID_ID}; enum {OPEN_FILE_ID=1, BUTTON_OPEN_ID, NAME_ID, BUTTON_LOAD_ID, BUTTON_INTEGRATE_ID, CHECK_SAVE_ID, OPS_GRID_ID};

View File

@ -21,20 +21,13 @@
#define IMPORTPANEL_H #define IMPORTPANEL_H
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/grid.h>
#include <wx/treectrl.h>
#include <wx/statbox.h>
#include <wx/gbsizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/bmpcbox.h>
#include <wx/colordlg.h>
#include <wx/fontdlg.h>
#include "view.h" #include "view.h"
#include <model/model.h> #include <model/model.h>
#include <model/import/ImportEngine.h> #include <model/import/ImportEngine.h>
#include "grid/GridAccount.h"
class ImportPanel: public KissPanel class ImportPanel: public KissPanel
{ {
public: public:

View File

@ -24,6 +24,8 @@
#include <wx/scrolwin.h> #include <wx/scrolwin.h>
#include <wx/bmpbuttn.h> #include <wx/bmpbuttn.h>
#include "wxUI.h"
class wxUI; class wxUI;
class KissCount; class KissCount;

View File

@ -17,6 +17,10 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <wx/choice.h>
#include <wx/textctrl.h>
#include <wx/gbsizer.h>
#include "PasswordDialog.h" #include "PasswordDialog.h"
enum {BUTTON_OK_ID=1, BUTTON_CANCEL_ID, OLD_PASSWORD_ID, NEW_PASSWORD_ID, CONFIRM_PASSWORD_ID}; enum {BUTTON_OK_ID=1, BUTTON_CANCEL_ID, OLD_PASSWORD_ID, NEW_PASSWORD_ID, CONFIRM_PASSWORD_ID};

View File

@ -20,12 +20,7 @@
#ifndef PASSWORDDIALOG_H #ifndef PASSWORDDIALOG_H
#define PASSWORDDIALOG_H #define PASSWORDDIALOG_H
#include <list>
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/choice.h>
#include <wx/textctrl.h>
#include <controller/KissCount.h>
#include "wxUI.h" #include "wxUI.h"
#include <model/model.h> #include <model/model.h>

View File

@ -17,6 +17,23 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <wx/grid.h>
#include <wx/treectrl.h>
#include <wx/statbox.h>
#include <wx/gbsizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/bmpcbox.h>
#include <wx/colordlg.h>
#include <wx/fontdlg.h>
#include "grid/wxMyGrid.h"
#include "grid/wxGridCellStarEditor.h"
#include "grid/wxGridCellFastBoolEditor.h"
#include "grid/wxGridCellButtonRenderer.h"
#include "grid/wxGridCellButtonEditor.h"
#include "PasswordDialog.h"
#include "PreferencesPanel.h" #include "PreferencesPanel.h"
enum {ACCOUNT_NAME, ACCOUNT_NUMBER, ACCOUNT_DEFAULT, ACCOUNT_VIRTUAL, ACCOUNT_BLOCKED, ACCOUNT_DELETE, NUMBER_COLS_ACCOUNT}; enum {ACCOUNT_NAME, ACCOUNT_NUMBER, ACCOUNT_DEFAULT, ACCOUNT_VIRTUAL, ACCOUNT_BLOCKED, ACCOUNT_DELETE, NUMBER_COLS_ACCOUNT};

View File

@ -21,21 +21,11 @@
#define PREFERENCESPANEL_H #define PREFERENCESPANEL_H
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/grid.h>
#include <wx/treectrl.h>
#include <wx/statbox.h>
#include <wx/gbsizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/bmpcbox.h> #include <wx/bmpcbox.h>
#include <wx/colordlg.h>
#include <wx/fontdlg.h>
#include "view.h" #include "view.h"
#include <model/model.h> #include <model/model.h>
#include "PasswordDialog.h"
#include "SupportedLanguages.h" #include "SupportedLanguages.h"
#include "grid/wxGridCellStarEditor.h"
class PreferencesPanel: public KissPanel class PreferencesPanel: public KissPanel
{ {

View File

@ -22,6 +22,7 @@
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/grid.h> #include <wx/grid.h>
#include <wx/gbsizer.h>
#include <wx/treectrl.h> #include <wx/treectrl.h>
#include <wx/scrolwin.h> #include <wx/scrolwin.h>
#include "view.h" #include "view.h"

View File

@ -17,7 +17,12 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "AccountPanel.h" #include <wx/treectrl.h>
#include <wx/scrolwin.h>
#include "grid/CalendarEditor.h"
#include "grid/wxGridCellBitmapRenderer.h"
#include "SearchPanel.h"
enum {SEARCH_ID=1, GRID_ID, enum {SEARCH_ID=1, GRID_ID,
CHANGE_ACCOUNT_ID, CHANGE_CATEGORY_ID, RENAME_ID}; CHANGE_ACCOUNT_ID, CHANGE_CATEGORY_ID, RENAME_ID};

View File

@ -22,11 +22,7 @@
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/grid.h> #include <wx/grid.h>
#include <wx/treectrl.h>
#include <wx/scrolwin.h>
#include "view.h" #include "view.h"
#include "grid/CalendarEditor.h"
#include "grid/wxGridCellBitmapRenderer.h"
#include "grid/GridAccount.h" #include "grid/GridAccount.h"
#include "AccountPanel.h" #include "AccountPanel.h"
#include "SearchBanner.h" #include "SearchBanner.h"
@ -34,7 +30,6 @@
#include <model/model.h> #include <model/model.h>
class GridAccount; class GridAccount;
class SearchBanner;
class SearchPanel: public KissPanel class SearchPanel: public KissPanel
{ {

View File

@ -17,6 +17,9 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <wx/xy/xylinerenderer.h>
#include <wx/xy/xysimpledataset.h>
#include "StatsPanel.h" #include "StatsPanel.h"
enum {RANGE_ID=1, ACCOUNTS_ID}; enum {RANGE_ID=1, ACCOUNTS_ID};

View File

@ -24,16 +24,14 @@
#include <wx/grid.h> #include <wx/grid.h>
#include <wx/choice.h> #include <wx/choice.h>
#include <wx/xy/xyplot.h>
#include <wx/xy/xylinerenderer.h>
#include <wx/xy/xysimpledataset.h>
#include <wx/chart.h> #include <wx/chart.h>
#include <wx/grid.h> #include <wx/grid.h>
#include <wx/pie/pieplot.h> #include <wx/pie/pieplot.h>
#include <wx/chartpanel.h> #include <wx/chartpanel.h>
#include <wx/category/categorysimpledataset.h> #include <wx/category/categorysimpledataset.h>
#include <wx/calctrl.h>
#include <wx/xy/xyplot.h>
#include <controller/KissCount.h>
#include "view.h" #include "view.h"
#include <model/model.h> #include <model/model.h>

View File

@ -17,6 +17,11 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <wx/choice.h>
#include <wx/textctrl.h>
#include <wx/textdlg.h>
#include <wx/gbsizer.h>
#include "UsersDialog.h" #include "UsersDialog.h"
enum {TEXT_PASSWORD_ID=1, BUTTON_OK_ID, BUTTON_CANCEL_ID, BUTTON_NEW_USER_ID}; enum {TEXT_PASSWORD_ID=1, BUTTON_OK_ID, BUTTON_CANCEL_ID, BUTTON_NEW_USER_ID};

View File

@ -23,10 +23,6 @@
#include <list> #include <list>
#include <wx/wx.h> #include <wx/wx.h>
#include <wx/choice.h>
#include <wx/textctrl.h>
#include <wx/textdlg.h>
#include <controller/KissCount.h>
#include "wxUI.h" #include "wxUI.h"
class wxUI; class wxUI;

View File

@ -31,6 +31,7 @@
#include "wxGridCellFastBoolEditor.h" #include "wxGridCellFastBoolEditor.h"
#include "wxGridCellTreeButtonRenderer.h" #include "wxGridCellTreeButtonRenderer.h"
#include "wxGridCellTreeButtonEditor.h" #include "wxGridCellTreeButtonEditor.h"
#include "wxGridCellBitmapRenderer.h"
#include "wxGridCellFormulaEditor.h" #include "wxGridCellFormulaEditor.h"
#include "wxGridCellTabStringRenderer.h" #include "wxGridCellTabStringRenderer.h"

View File

@ -48,7 +48,7 @@ bool wxGridCellFormulaEditor::EndEdit (int row, int col, wxGrid *grid/*, const w
wxString res = GetValue(); wxString res = GetValue();
Operation op; Operation op;
char* str, *str2; char* str, *str2;
struct parse_opt opt, *r; struct ParseExp::parse_opt opt, *r;
bool ret; bool ret;
res = res.Trim(); res = res.Trim();
@ -62,7 +62,7 @@ bool wxGridCellFormulaEditor::EndEdit (int row, int col, wxGrid *grid/*, const w
r = &opt; r = &opt;
str = str2; str = str2;
try { try {
ParseExp(&str2, r, false); ParseExp::ParseExp(&str2, r, false);
} }
catch(...) catch(...)
{ {
@ -76,7 +76,7 @@ bool wxGridCellFormulaEditor::EndEdit (int row, int col, wxGrid *grid/*, const w
ret = wxGridCellTextEditor::EndEdit(row, col, grid); ret = wxGridCellTextEditor::EndEdit(row, col, grid);
grid->SetCellValue(row, col, wxString::Format(wxT("%.2lf"), EvaluateExpr(&opt, true))); grid->SetCellValue(row, col, wxString::Format(wxT("%.2lf"), ParseExp::EvaluateExpr(&opt, true)));
} }
else else
{ {

View File

@ -20,6 +20,8 @@
#ifndef VIEW_H #ifndef VIEW_H
#define VIEW_H #define VIEW_H
#include <wx/colour.h>
namespace view { namespace view {
const wxColour OWN_CYAN(0x99, 0xCC, 0xFF); const wxColour OWN_CYAN(0x99, 0xCC, 0xFF);
const wxColour OWN_YELLOW(0xFF, 0xFF, 0x99); const wxColour OWN_YELLOW(0xFF, 0xFF, 0x99);

View File

@ -17,6 +17,20 @@
along with KissCount. If not, see <http://www.gnu.org/licenses/>. along with KissCount. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "AccountPanel.h"
#include "PreferencesPanel.h"
#include "UsersDialog.h"
#include "GenerateDialog.h"
#include "SearchPanel.h"
#include "StatsPanel.h"
#include "ImportPanel.h"
#include "ExportPanel.h"
#include "grid/wxMyGrid.h"
#include "grid/wxGridCellFastBoolEditor.h"
#include "grid/wxGridCellButtonRenderer.h"
#include "grid/wxGridCellButtonEditor.h"
#include "wxUI.h" #include "wxUI.h"
enum {BUTTON_CHANGE_USER_ID=-4, BUTTON_ABOUT_ID=-5, BUTTON_QUIT_ID=-6}; enum {BUTTON_CHANGE_USER_ID=-4, BUTTON_ABOUT_ID=-5, BUTTON_QUIT_ID=-6};

View File

@ -23,19 +23,9 @@
class ImportEngine; class ImportEngine;
#include <wx/wx.h> #include <wx/wx.h>
#include "AccountPanel.h"
#include "PreferencesPanel.h"
#include "UsersDialog.h"
#include "GenerateDialog.h"
#include "SearchPanel.h"
#include "StatsPanel.h"
#include "ImportPanel.h"
#include "ExportPanel.h"
#include <controller/KissCount.h> #include <controller/KissCount.h>
#include "grid/wxMyGrid.h"
#include "grid/wxGridCellFastBoolEditor.h" #include "KissPanel.h"
#include "grid/wxGridCellButtonRenderer.h"
#include "grid/wxGridCellButtonEditor.h"
#ifdef WIN32 #ifdef WIN32
#undef _ #undef _
@ -43,6 +33,7 @@ class ImportEngine;
#endif #endif
class KissCount; class KissCount;
class KissPanel;
class AccountPanel; class AccountPanel;
class PreferencesPanel; class PreferencesPanel;