summaryrefslogtreecommitdiff
path: root/epgsearch/services.h
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2008-10-21 20:44:45 (GMT)
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2008-10-21 20:44:45 (GMT)
commit73393d5bde0f6a3c1ee3b855d7535d7e688c2287 (patch)
tree1816508a7a12b08360a3510a11be5922253728a8 /epgsearch/services.h
parent8f23e11f853946651c8821d02b014d861b6c0986 (diff)
downloadvdr-plugin-live-73393d5bde0f6a3c1ee3b855d7535d7e688c2287.tar.gz
vdr-plugin-live-73393d5bde0f6a3c1ee3b855d7535d7e688c2287.tar.bz2
some fixes for the directory entry within the edit timer menu, requires
epgsearch-0.9.25.beta6
Diffstat (limited to 'epgsearch/services.h')
-rw-r--r--epgsearch/services.h20
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