summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-09-01 14:03:45 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-09-01 14:03:45 +0200
commit13edfc13820efc784c08b7b93e73f34a73c1e80e (patch)
tree02d030f96fa1f851454f75d84f03cd323f20105d /plugin.h
parentd3b3c43e8f0f584fc679787edc8799399f8e8d3e (diff)
downloadvdr-13edfc13820efc784c08b7b93e73f34a73c1e80e.tar.gz
vdr-13edfc13820efc784c08b7b93e73f34a73c1e80e.tar.bz2
Implemented FHS support; fixed handling config directory if only -v is given
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugin.h b/plugin.h
index 684b822a..3502741a 100644
--- a/plugin.h
+++ b/plugin.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: plugin.h 2.1 2012/03/11 13:55:56 kls Exp $
+ * $Id: plugin.h 2.2 2012/09/01 13:08:54 kls Exp $
*/
#ifndef __PLUGIN_H
@@ -21,7 +21,9 @@ class cPlugin {
friend class cDll;
friend class cPluginManager;
private:
- static char *configDirectory;
+ static cString configDirectory;
+ static cString cacheDirectory;
+ static cString resourceDirectory;
const char *name;
bool started;
void SetName(const char *s);
@@ -57,6 +59,10 @@ public:
static void SetConfigDirectory(const char *Dir);
static const char *ConfigDirectory(const char *PluginName = NULL);
+ static void SetCacheDirectory(const char *Dir);
+ static const char *CacheDirectory(const char *PluginName = NULL);
+ static void SetResourceDirectory(const char *Dir);
+ static const char *ResourceDirectory(const char *PluginName = NULL);
};
class cDll : public cListObject {