From ac471850fe5d7f5267e991eb3d2ed3d5488fe502 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 15 Aug 2002 11:28:26 +0200 Subject: Moved FileNameChars into menuitems.h to make it available to plugins --- menu.c | 4 +--- menuitems.c | 4 +++- menuitems.h | 4 +++- 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; -- cgit v1.2.3