1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

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 * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "menu.h"
@ -32,8 +32,6 @@
#define CHNUMWIDTH (Channels.Count() > 999 ? 5 : 4) // there are people with more than 999 channels... #define CHNUMWIDTH (Channels.Count() > 999 ? 5 : 4) // there are people with more than 999 channels...
const char *FileNameChars = " abcdefghijklmnopqrstuvwxyz0123456789-.#~";
// --- cMenuEditChanItem ----------------------------------------------------- // --- cMenuEditChanItem -----------------------------------------------------
class cMenuEditChanItem : public cMenuEditIntItem { class cMenuEditChanItem : public cMenuEditIntItem {

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "menuitems.h"
@ -13,6 +13,8 @@
#include "plugin.h" #include "plugin.h"
#include "status.h" #include "status.h"
const char *FileNameChars = " abcdefghijklmnopqrstuvwxyz0123456789-.#~";
// --- cMenuEditItem --------------------------------------------------------- // --- cMenuEditItem ---------------------------------------------------------
cMenuEditItem::cMenuEditItem(const char *Name) cMenuEditItem::cMenuEditItem(const char *Name)

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef __MENUITEMS_H
@ -12,6 +12,8 @@
#include "osd.h" #include "osd.h"
extern const char *FileNameChars;
class cMenuEditItem : public cOsdItem { class cMenuEditItem : public cOsdItem {
private: private:
char *name; char *name;