2004-12-30 23:43:55 +01:00
|
|
|
/*
|
2010-12-02 09:57:17 +01:00
|
|
|
* $Id: setup.h,v 1.4 2010/07/19 13:49:31 schmirl Exp $
|
2004-12-30 23:43:55 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef VDR_STREAMDEV_SETUPSERVER_H
|
|
|
|
#define VDR_STREAMDEV_SETUPSERVER_H
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
struct cStreamdevServerSetup {
|
|
|
|
cStreamdevServerSetup(void);
|
|
|
|
|
|
|
|
bool SetupParse(const char *Name, const char *Value);
|
|
|
|
|
2011-12-08 13:07:17 +01:00
|
|
|
int HideMenuEntry;
|
2004-12-30 23:43:55 +01:00
|
|
|
int MaxClients;
|
|
|
|
int StartVTPServer;
|
|
|
|
int VTPServerPort;
|
|
|
|
char VTPBindIP[20];
|
|
|
|
int StartHTTPServer;
|
|
|
|
int HTTPServerPort;
|
|
|
|
int HTTPStreamType;
|
|
|
|
char HTTPBindIP[20];
|
2009-02-13 11:39:20 +01:00
|
|
|
int StartIGMPServer;
|
|
|
|
int IGMPClientPort;
|
|
|
|
int IGMPStreamType;
|
|
|
|
char IGMPBindIP[20];
|
2004-12-30 23:43:55 +01:00
|
|
|
int SuspendMode;
|
|
|
|
int AllowSuspend;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern cStreamdevServerSetup StreamdevServerSetup;
|
|
|
|
|
2009-09-18 12:41:41 +02:00
|
|
|
class cStreamdevServerMenuSetupPage: public cMenuSetupPage {
|
2004-12-30 23:43:55 +01:00
|
|
|
private:
|
2009-09-18 12:41:41 +02:00
|
|
|
static const char* StreamTypes[];
|
|
|
|
static const char* SuspendModes[];
|
2004-12-30 23:43:55 +01:00
|
|
|
cStreamdevServerSetup m_NewSetup;
|
|
|
|
|
2009-09-18 12:41:41 +02:00
|
|
|
void AddCategory(const char *Title);
|
2010-12-02 09:57:17 +01:00
|
|
|
void Set();
|
2004-12-30 23:43:55 +01:00
|
|
|
protected:
|
|
|
|
virtual void Store(void);
|
2010-12-02 09:57:17 +01:00
|
|
|
virtual eOSState ProcessKey(eKeys Key);
|
2004-12-30 23:43:55 +01:00
|
|
|
|
|
|
|
public:
|
|
|
|
cStreamdevServerMenuSetupPage(void);
|
|
|
|
virtual ~cStreamdevServerMenuSetupPage();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VDR_STREAMDEV_SETUPSERVER_H
|