doomseekerfilepaths.h
1 //------------------------------------------------------------------------------
2 // doomseekerfilepaths.h
3 //
4 // Copyright (C) 2010 "Zalewa" <zalewapl@gmail.com>
5 //------------------------------------------------------------------------------
6 #ifndef __DOOMSEEKERFILEPATHS_H__
7 #define __DOOMSEEKERFILEPATHS_H__
8 
9 #include "datapaths.h"
10 #include "global.h"
11 #include <QString>
12 
21 class MAIN_EXPORT DoomseekerFilePaths
22 {
23  public:
24  static const QString IP2C_DATABASE_FILENAME;
25  static const QString IP2C_QT_SEARCH_PATH;
26  static const QString TEMP_SERVER_CONFIG_FILENAME;
27  static const QString INI_FILENAME;
28  static const QString IRC_INI_FILENAME;
29  static const QString PASSWORD_INI_FILENAME;
30 
31  static DataPaths* pDataPaths;
32 
33  static QString ini();
34  static QString ircIni();
35  static QString ip2cDatabase();
36  static QString passwordIni();
37  static QString tempServerConfig();
38  static QString updatePackagesStorageDir();
39 
40  private:
41  static QString joinIfNeitherEmpty(const QString &left, const QString &right);
42 };
43 
44 #endif
Represents directories used by Doomseeker to store data.
Definition: datapaths.h:43
Static class responsible for retrieving paths to data files used by Doomseeker.