From 51df65e90bb7c9805e4d22cefd93a3bb8708beb0 Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 7 Feb 2014 16:07:00 +0100 Subject: order of search timers in search timer list in alphabetical order --- searchtimer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'searchtimer.h') diff --git a/searchtimer.h b/searchtimer.h index a5a4f71..f797ebd 100644 --- a/searchtimer.h +++ b/searchtimer.h @@ -64,13 +64,14 @@ private: public: cTVGuideSearchTimer(void); virtual ~cTVGuideSearchTimer(void); + bool operator < (const cTVGuideSearchTimer& other) const; void SetEPGSearchString(std::string strTimer) { this->strTimer = strTimer; }; void SetTemplate(std::string tmpl); bool Parse(bool readTemplate = false); std::string BuildSearchString(void); int GetID(void) { return ID; }; //GETTER - std::string SearchString(void) { return searchString; }; + std::string SearchString(void) const { return searchString; }; bool Active(void); bool UseTitle(void) { return useTitle; }; bool UseSubtitle(void) { return useSubtitle; }; -- cgit v1.2.3