diff options
Diffstat (limited to 'src/childlockservice.h')
-rw-r--r-- | src/childlockservice.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/childlockservice.h b/src/childlockservice.h index 28a3ca4..8c6faa9 100644 --- a/src/childlockservice.h +++ b/src/childlockservice.h @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id:$ + * $Id$ * */ @@ -32,11 +32,12 @@ class cTimer; class cEvent; class cOsdObject; -#define CHILDLOCKSERVICEID "ChildLockService-v0.1::ChildLockService" - class IChildLockService { public: + static const char* ServiceId; + + public: virtual ~IChildLockService() {}; virtual bool IsUnlocked() = 0; @@ -50,4 +51,6 @@ class IChildLockService virtual bool IsRecordingHidden(const cRecording* Recording, const char* Name, const char* Base, bool isDirectory) = 0; }; +const char* IChildLockService::ServiceId = "ChildLockService-v0.1::ChildLockService"; + #endif |