2010-12-02 08:53:01 +01:00
|
|
|
/*
|
2010-12-02 09:48:23 +01:00
|
|
|
* $Id: setup.h,v 1.7 2010/06/08 05:55:17 schmirl Exp $
|
2010-12-02 08:53:01 +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;
|
|
|
|
int StreamFilters;
|
2010-12-02 09:43:13 +01:00
|
|
|
int HideMenuEntry;
|
|
|
|
int MinPriority;
|
|
|
|
int MaxPriority;
|
2010-12-02 08:53:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
extern cStreamdevClientSetup StreamdevClientSetup;
|
|
|
|
|
2010-12-02 09:48:23 +01:00
|
|
|
class cStreamdevClientMenuSetupPage: public cMenuSetupPage {
|
2010-12-02 08:53:01 +01:00
|
|
|
private:
|
|
|
|
cStreamdevClientSetup m_NewSetup;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void Store(void);
|
|
|
|
|
|
|
|
public:
|
|
|
|
cStreamdevClientMenuSetupPage(void);
|
|
|
|
virtual ~cStreamdevClientMenuSetupPage();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VDR_STREAMDEV_SETUPCLIENT_H
|