summaryrefslogtreecommitdiff
path: root/lib/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common.h')
-rw-r--r--lib/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common.h b/lib/common.h
index c7faf81..c8361ec 100644
--- a/lib/common.h
+++ b/lib/common.h
@@ -265,6 +265,7 @@ const char* bcastAddressOf(const char* ipStr, const char* maskStr = 0);
const char* getUniqueId();
#endif
+char* replaceChars(char* string, const char* chars, const char to);
void removeChars(std::string& str, const char* ignore);
void removeCharsExcept(std::string& str, const char* except);
void removeWord(std::string& pattern, std::string word);
@@ -414,6 +415,8 @@ class LogDuration
int logLevel;
};
+#ifdef VDR_PLUGIN
+
//***************************************************************************
// Timer Thread
//***************************************************************************
@@ -442,6 +445,8 @@ class cTimerThread : public cThread
sendEventFct sendEvent;
};
+#endif // VDR_PLUGIN
+
//***************************************************************************
// Semaphore
//***************************************************************************