summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-15 11:28:26 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-15 11:28:26 +0200
commitac471850fe5d7f5267e991eb3d2ed3d5488fe502 (patch)
tree5cd7f5137979ca3a6968cee01fa5abb02536001c
parent34710939eac9fc0c271e8a57ec07b6971eff6eaa (diff)
downloadvdr-ac471850fe5d7f5267e991eb3d2ed3d5488fe502.tar.gz
vdr-ac471850fe5d7f5267e991eb3d2ed3d5488fe502.tar.bz2
Moved FileNameChars into menuitems.h to make it available to plugins
-rw-r--r--menu.c4
-rw-r--r--menuitems.c4
-rw-r--r--menuitems.h4
3 files changed, 7 insertions, 5 deletions
diff --git a/menu.c b/menu.c
index 7a2e0ea6..5b56b3ab 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.204 2002/08/11 11:50:20 kls Exp $
+ * $Id: menu.c 1.205 2002/08/15 11:28:08 kls Exp $
*/
#include "menu.h"
@@ -32,8 +32,6 @@
#define CHNUMWIDTH (Channels.Count() > 999 ? 5 : 4) // there are people with more than 999 channels...
-const char *FileNameChars = " abcdefghijklmnopqrstuvwxyz0123456789-.#~";
-
// --- cMenuEditChanItem -----------------------------------------------------
class cMenuEditChanItem : public cMenuEditIntItem {
diff --git a/menuitems.c b/menuitems.c
index 78ff71fc..8c7848f5 100644
--- a/menuitems.c
+++ b/menuitems.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.c 1.7 2002/08/11 11:17:21 kls Exp $
+ * $Id: menuitems.c 1.8 2002/08/15 11:27:57 kls Exp $
*/
#include "menuitems.h"
@@ -13,6 +13,8 @@
#include "plugin.h"
#include "status.h"
+const char *FileNameChars = " abcdefghijklmnopqrstuvwxyz0123456789-.#~";
+
// --- cMenuEditItem ---------------------------------------------------------
cMenuEditItem::cMenuEditItem(const char *Name)
diff --git a/menuitems.h b/menuitems.h
index 7470581a..4752d4bb 100644
--- a/menuitems.h
+++ b/menuitems.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.h 1.3 2002/08/11 11:40:05 kls Exp $
+ * $Id: menuitems.h 1.4 2002/08/15 11:28:26 kls Exp $
*/
#ifndef __MENUITEMS_H
@@ -12,6 +12,8 @@
#include "osd.h"
+extern const char *FileNameChars;
+
class cMenuEditItem : public cOsdItem {
private:
char *name;