OSDN Git Service

Rename boardmanager.cpp and boardmanager.h
[kita/kita.git] / kita / src / libkita / cache.h
1 /***************************************************************************
2 *   Copyright (C) 2003 by Hideki Ikemoto                                  *
3 *   ikemo@wakaba.jp                                                       *
4 *                                                                         *
5 *   This program is free software; you can redistribute it and/or modify  *
6 *   it under the terms of the GNU General Public License as published by  *
7 *   the Free Software Foundation; either version 2 of the License, or     *
8 *   (at your option) any later version.                                   *
9 ***************************************************************************/
10 #ifndef KITACACHE_H
11 #define KITACACHE_H
12
13 #include <QtCore/QString>
14
15 #include <kurl.h>
16
17 namespace Kita
18 {
19
20     /**
21     @author Hideki Ikemoto
22     */
23     class KDE_EXPORT Cache
24     {
25         public:
26             Cache(const KUrl& url);
27
28             QString serverDir() const;
29             QString boardDir() const;
30
31             QString getPath() const;
32             QString getIndexPath() const;
33             QString getSettingPath() const;
34             QString getBBSHistoryPath() const;
35             QString getSubjectPath() const;
36             QString getDirPath() const;
37
38             static QString baseDir();
39
40         private:
41             KUrl m_url;
42     };
43 }
44
45 #endif