From 13edfc13820efc784c08b7b93e73f34a73c1e80e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 1 Sep 2012 14:03:45 +0200 Subject: Implemented FHS support; fixed handling config directory if only -v is given --- plugin.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'plugin.h') 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 { -- cgit v1.2.3