Moved FileNameChars into menuitems.h to make it available to plugins

This commit is contained in:
Klaus Schmidinger 2002-08-15 11:28:26 +02:00
parent 34710939ea
commit ac471850fe
3 changed files with 7 additions and 5 deletions

4
menu.c
View File

@ -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 {

View File

@ -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)

View File

@ -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;