2004-12-30 23:43:55 +01:00
|
|
|
/*
|
2010-06-08 07:55:16 +02:00
|
|
|
* $Id: setup.h,v 1.7 2010/06/08 05:55:17 schmirl Exp $
|
2004-12-30 23:43:55 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef VDR_STREAMDEV_SETUPCLIENT_H
|
|
|
|
#define VDR_STREAMDEV_SETUPCLIENT_H
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
struct cStreamdevClientSetup {
|
|
|
|
cStreamdevClientSetup(void);
|
|
|
|
|
|
|
|
bool SetupParse(const char *Name, const char *Value);
|
|
|
|
|
|
|
|
int StartClient;
|
|
|
|
char RemoteIp[20];
|
|
|
|
int RemotePort;
|
2012-03-03 23:24:30 +01:00
|
|
|
int Timeout;
|
2004-12-30 23:43:55 +01:00
|
|
|
int StreamFilters;
|
2008-04-07 16:50:32 +02:00
|
|
|
int HideMenuEntry;
|
2012-03-04 01:15:40 +01:00
|
|
|
int LivePriority;
|
2009-01-29 08:48:58 +01:00
|
|
|
int MinPriority;
|
|
|
|
int MaxPriority;
|
2011-02-16 08:57:05 +01:00
|
|
|
#if APIVERSNUM >= 10700
|
|
|
|
int NumProvidedSystems;
|
|
|
|
#endif
|
2004-12-30 23:43:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
extern cStreamdevClientSetup StreamdevClientSetup;
|
|
|
|
|
2013-01-29 00:02:17 +01:00
|
|
|
class cPluginStreamdevClient;
|
|
|
|
|
2009-09-18 12:41:41 +02:00
|
|
|
class cStreamdevClientMenuSetupPage: public cMenuSetupPage {
|
2004-12-30 23:43:55 +01:00
|
|
|
private:
|
2013-01-29 00:02:17 +01:00
|
|
|
cPluginStreamdevClient *m_Plugin;
|
|
|
|
cStreamdevClientSetup m_NewSetup;
|
2004-12-30 23:43:55 +01:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void Store(void);
|
|
|
|
|
|
|
|
public:
|
2013-01-29 00:02:17 +01:00
|
|
|
cStreamdevClientMenuSetupPage(cPluginStreamdevClient *Plugin);
|
2004-12-30 23:43:55 +01:00
|
|
|
virtual ~cStreamdevClientMenuSetupPage();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VDR_STREAMDEV_SETUPCLIENT_H
|