diff options
Diffstat (limited to 'epgsearch')
-rw-r--r-- | epgsearch/services.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/epgsearch/services.h b/epgsearch/services.h index 91b1d5b..35cca9b 100644 --- a/epgsearch/services.h +++ b/epgsearch/services.h @@ -1,5 +1,5 @@ /* -Copyright (C) 2004-2007 Christian Wieninger +Copyright (C) 2004-2008 Christian Wieninger This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -160,7 +160,7 @@ struct Epgsearch_services_v1_0 std::auto_ptr<cServiceHandler> handler; }; -// Data structures for service "Epgsearch-services-v1.0" +// Data structures for service "Epgsearch-services-v1.1" class cServiceHandler_v1_1 : public cServiceHandler { public: @@ -176,4 +176,20 @@ struct Epgsearch_services_v1_1 std::auto_ptr<cServiceHandler_v1_1> handler; }; +// Data structures for service "Epgsearch-services-v1.2" +class cServiceHandler_v1_2 : public cServiceHandler_v1_1 +{ + public: + // List of all recording directories used in recordings, timers (and optionally search timers or in epgsearchdirs.conf) + virtual std::set<std::string> ShortDirectoryList() = 0; + // Evaluate an expression against an event + virtual std::string Evaluate(const std::string& expr, const cEvent* event) = 0; +}; + +struct Epgsearch_services_v1_2 +{ +// in/out + std::auto_ptr<cServiceHandler_v1_2> handler; +}; + #endif |