summaryrefslogtreecommitdiffstats
path: root/src/cache.cpp
blob: ab066a07f47e274d8919b1e5b9632f2ecb8038ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/***************************************************************************
 *   Copyright (C) by                                                      *
 *     - 2005: Christian Leh <[email protected]>                             *
 *                                                                         *
 *   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; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#include <kuser.h>
#include <kstandarddirs.h>
#include <tdeconfig.h>

#include <tqfileinfo.h>
#include <tqdatetime.h>
#include <tqimage.h>

#include "cache.h"

/* Disabled Cache (Michael Ummels) */

Cache::Cache(Scaler* scaler, const TQString& themeEngine, const TQString& theme)
{
}


TQImage* Cache::cacheFile(const TQString& file)
{
  return new TQImage(file);
}


void Cache::createCacheDir()
{
}


void Cache::writeInfoFile(TQString& file)
{
}


bool Cache::isInSync(TQString& file)
{
  return true;
}


TQString Cache::getFile(TQString file)
{
  return file;
}