diff --git a/src/keepassx.h b/src/keepassx.h new file mode 100644 index 0000000..4abd98e --- /dev/null +++ b/src/keepassx.h @@ -0,0 +1,102 @@ +/*************************************************************************** + * Copyright (C) 2005-2008 by Tarek Saidi * + * tarek.saidi@arcor.de * + * * + * This program 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; version 2 of the License. * + * * + * This program 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 this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef KEEPASSX_H_ +#define KEEPASSX_H_ + +// global defines + +#define APP_DISPLAY_NAME "KeePassX" +#define APP_CODE_NAME "keepassx" +#define APP_SHORT_FUNC "Password Manager" +#define APP_LONG_FUNC "Cross Platform Password Manager" +#define APP_VERSION "0.3.0a" + +#define BUILTIN_ICONS 65 + +// often used, stable header files for pch + +#ifdef __cplusplus + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "crypto/blowfish.h" +#include "crypto/sha1.h" +#include "crypto/twoclass.h" +#include "crypto/aescpp.h" +#include "crypto/sha256.h" +#include "crypto/yarrow.h" +#include "crypto/arcfour.h" +#include "lib/random.h" +#include "lib/SecString.h" +#include "lib/tools.h" +#include "lib/FileDialogs.h" +#include "lib/bookmarks.h" +#include "lib/UrlLabel.h" +#include "KpxConfig.h" +#include "Database.h" + +extern QString PluginLoadError; +extern KpxConfig *config; +extern QString AppDir; +extern QString HomeDir; +extern QString DataDir; +extern bool TrActive; +extern QString DetailViewTemplate; +extern QPixmap *EntryIcons; + +#endif //__cplusplus +#endif //KEEPASS_X_ \ No newline at end of file diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c2bde17..40b9189 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -28,7 +28,19 @@ #include "export/Export_Txt.h" #include "export/Export_KeePassX_Xml.h" -#include "dialogs/dialogs.h" +#include "dialogs/AboutDlg.h" +#include "dialogs/SearchDlg.h" +#include "dialogs/SettingsDlg.h" +#include "dialogs/DatabaseSettingsDlg.h" +#include "dialogs/PasswordDlg.h" +#include "dialogs/SimplePasswordDlg.h" +#include "dialogs/PasswordGenDlg.h" +#include "dialogs/CollectEntropyDlg.h" +#include "dialogs/CustomizeDetailViewDlg.h" +#include "dialogs/ExpiredEntriesDlg.h" +//#include "dialogs/TrashCanDlg.h" //TODO TrashCan +#include "dialogs/AddBookmarkDlg.h" +#include "dialogs/ManageBookmarksDlg.h" Import_KeePassX_Xml import_KeePassX_Xml; Import_PwManager import_PwManager; diff --git a/src/src.pro b/src/src.pro index ec20952..5aa3758 100644 --- a/src/src.pro +++ b/src/src.pro @@ -199,8 +199,7 @@ HEADERS += lib/UrlLabel.h \ # KpxFirefox.h \ dialogs/AddBookmarkDlg.h \ lib/bookmarks.h \ - dialogs/ManageBookmarksDlg.h \ - dialogs/dialogs.h + dialogs/ManageBookmarksDlg.h SOURCES += lib/UrlLabel.cpp \ main.cpp \