summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-05-13 16:11:19 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-05-13 16:11:19 +0200
commit49fcbf19fa2a179d06990443349575ffa86a697f (patch)
tree5399a6193ab2f144408c5b73e840ec2071878c18 /plugin.h
parentbbddf7e2dbc855e1abc05c748c7c16ccf7a00ca5 (diff)
downloadvdr-49fcbf19fa2a179d06990443349575ffa86a697f.tar.gz
vdr-49fcbf19fa2a179d06990443349575ffa86a697f.tar.bz2
Made the config directory available to plugins
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin.h b/plugin.h
index d1a617d4..0b62e8bd 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 1.3 2002/05/12 09:58:54 kls Exp $
+ * $Id: plugin.h 1.4 2002/05/13 15:32:14 kls Exp $
*/
#ifndef __PLUGIN_H
@@ -20,6 +20,7 @@
class cPlugin {
friend class cDll;
private:
+ static char *configDirectory;
const char *name;
void SetName(const char *s);
public:
@@ -44,6 +45,9 @@ public:
void SetupStore(const char *Name, int Value);
void RegisterI18n(const tI18nPhrase * const Phrases);
+
+ static void SetConfigDirectory(const char *Dir);
+ static const char *ConfigDirectory(const char *PluginName = NULL);
};
class cDll : public cListObject {