summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core/opimcache.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/core/opimcache.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimcache.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libopie2/opiepim/core/opimcache.h b/libopie2/opiepim/core/opimcache.h
index e70a910..a033574 100644
--- a/libopie2/opiepim/core/opimcache.h
+++ b/libopie2/opiepim/core/opimcache.h
@@ -17,31 +17,33 @@
17 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 17 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A
18 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU 18 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU
19..}^=.= = ; Library General Public License for more 19..}^=.= = ; Library General Public License for more
20++= -. .` .: details. 20++= -. .` .: details.
21 : = ...= . :.=- 21 : = ...= . :.=-
22 -. .:....=;==+<; You should have received a copy of the GNU 22 -. .:....=;==+<; You should have received a copy of the GNU
23 -_. . . )=. = Library General Public License along with 23 -_. . . )=. = Library General Public License along with
24 -- :-=` this library; see the file COPYING.LIB. 24 -- :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation, 25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330, 26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA. 27 Boston, MA 02111-1307, USA.
28*/ 28*/
29#ifndef OPIE_PIM_CACHE_H 29#ifndef OPIMCACHE_H
30#define OPIE_PIM_CACHE_H 30#define OPIMCACHE_H
31
32#include <qintcache.h>
33 31
32/* OPIE */
34#include <opie2/opimrecord.h> 33#include <opie2/opimrecord.h>
35 34
35/* QT */
36#include <qintcache.h>
37
36namespace Opie { 38namespace Opie {
37class OPimCacheItemPrivate; 39class OPimCacheItemPrivate;
38 40
39template <class T = OPimRecord> 41template <class T = OPimRecord>
40class OPimCacheItem { 42class OPimCacheItem {
41public: 43public:
42 OPimCacheItem( const T& t = T() ); 44 OPimCacheItem( const T& t = T() );
43 OPimCacheItem( const OPimCacheItem& ); 45 OPimCacheItem( const OPimCacheItem& );
44 ~OPimCacheItem(); 46 ~OPimCacheItem();
45 47
46 OPimCacheItem &operator=( const OPimCacheItem& ); 48 OPimCacheItem &operator=( const OPimCacheItem& );
47 49