summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/vdrmanagerthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'vdr-vdrmanager/vdrmanagerthread.h')
-rw-r--r--vdr-vdrmanager/vdrmanagerthread.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/vdr-vdrmanager/vdrmanagerthread.h b/vdr-vdrmanager/vdrmanagerthread.h
index 57e129b..96866b7 100644
--- a/vdr-vdrmanager/vdrmanagerthread.h
+++ b/vdr-vdrmanager/vdrmanagerthread.h
@@ -20,15 +20,24 @@ class cVdrManagerThread : public cThread {
private:
cSelect * select;
int port;
- int sslPort;
const char * password;
bool forceCheckSvdrp;
int compressionMode;
+#if VDRMANAGER_USE_SSL
+ int sslPort;
const char * certFile;
const char * keyFile;
+#endif
public:
- cVdrManagerThread(int port, int sslPort, const char * password, bool forceCheckSvdrp, int compressionMode,
- const char * certFile, const char * keyFile);
+ cVdrManagerThread(int port,
+#if VDRMANAGER_USE_SSL
+ int sslPort,
+#endif
+ const char * password, bool forceCheckSvdrp, int compressionMode
+#if VDRMANAGER_USE_SSL
+ , const char * certFile, const char * keyFile
+#endif
+ );
virtual void Action(void);
void Shutdown();
private: