diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-13 16:11:19 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-13 16:11:19 +0200 |
commit | 49fcbf19fa2a179d06990443349575ffa86a697f (patch) | |
tree | 5399a6193ab2f144408c5b73e840ec2071878c18 /plugin.h | |
parent | bbddf7e2dbc855e1abc05c748c7c16ccf7a00ca5 (diff) | |
download | vdr-49fcbf19fa2a179d06990443349575ffa86a697f.tar.gz vdr-49fcbf19fa2a179d06990443349575ffa86a697f.tar.bz2 |
Made the config directory available to plugins
Diffstat (limited to 'plugin.h')
-rw-r--r-- | plugin.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 { |