From ef4ff3d115a1053ecea7bcfafac4f46f34ddf1d1 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Mon, 17 Jun 2019 14:19:13 +0200 Subject: Some refatoring to searchTimer --- searchtimer.h | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'searchtimer.h') diff --git a/searchtimer.h b/searchtimer.h index 81a6256..2bca222 100644 --- a/searchtimer.h +++ b/searchtimer.h @@ -79,35 +79,10 @@ public: //GETTER std::string GetSearchString(void) const { return searchString; }; bool IsActive(void); - bool UseTitle(void) { return useTitle; }; - bool UseSubtitle(void) { return useSubtitle; }; - bool UseDescription(void) { return useDescription; }; - int SearchMode(void) { return mode; }; - int UseChannel(void) { return useChannel; }; - int StartChannel(void) { return (channelMin)?channelMin->Number():0; }; - int StopChannel(void) { return (channelMax)?channelMax->Number():0; }; - std::string ChannelGroup(void) { return channelGroup; }; - bool UseTime(void) { return useTime; }; - int StartTime(void) { return startTime; }; - int StopTime(void) { return stopTime; }; - bool UseDayOfWeek(void) { return useDayOfWeek; }; int DayOfWeek(void); - int UseEpisode(void) { return useEpisode; }; - std::string Directory(void) { return directory; }; - int Priority(void) { return priority; }; - int Lifetime(void) { return lifetime; }; - int MarginStart(void) { return marginStart; }; - int MarginStop(void) { return marginStop; }; - bool UseVPS(void) { return useVPS; }; - bool AvoidRepeats(void) { return avoidRepeats; }; - int AllowedRepeats(void) { return allowedRepeats; }; - bool CompareTitle(void) { return compareTitle; }; - bool CompareSubtitle(void) { return compareSubtitle; }; - bool CompareSummary(void) { return compareSummary; }; bool UseInFavorites(void) { return useInFavorites; }; //SETTER void SetSearchString(std::string searchString) { this->searchString = searchString; }; - void SetActive(bool active) { useAsSearchTimer = active; }; void SetSearchMode(int searchMode) { mode = searchMode; }; void SetFuzzyTolerance(int fuzzyTolerance) { this->fuzzyTolerance = fuzzyTolerance; }; void SetUseCase(bool useCase) { this->useCase = useCase; }; -- cgit v1.2.3