summaryrefslogtreecommitdiff
path: root/epgsearchtools.h
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2010-02-11 20:14:59 +0100
committerChristian Wieninger <cwieninger@gmx.de>2010-02-11 20:14:59 +0100
commit2e1cf1296e94cfbb9c9c0dacc6da9d09f0bf83c4 (patch)
treeb436b06455bfca386af0e348531f40a48e09672c /epgsearchtools.h
parent37a827b8909263960c173ca72d656e0ed15df693 (diff)
downloadvdr-plugin-epgsearch-2e1cf1296e94cfbb9c9c0dacc6da9d09f0bf83c4.tar.gz
vdr-plugin-epgsearch-2e1cf1296e94cfbb9c9c0dacc6da9d09f0bf83c4.tar.bz2
new option the set the required match for 'compare summary'
Diffstat (limited to 'epgsearchtools.h')
-rw-r--r--epgsearchtools.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/epgsearchtools.h b/epgsearchtools.h
index 93f0aff..c1ee276 100644
--- a/epgsearchtools.h
+++ b/epgsearchtools.h
@@ -127,7 +127,7 @@ class cSearchExt;
class cSearchExtCat;
class cEvent;
-char* IndentMenuItem(const char*);
+char* IndentMenuItem(const char*, int indentions=1);
void PatchFont(eDvbFont);
bool MatchesSearchMode(const char* test, const char* values, int searchmode, const char* delim, int tolerance);
char* GetExtEPGValue(const cEvent* e, cSearchExtCat* SearchExtCat);
@@ -162,13 +162,13 @@ bool InEditMode(const char* ItemText, const char* ItemName, const char* ItemValu
cSearchExt* TriggeredFromSearchTimer(const cTimer* timer);
int TriggeredFromSearchTimerID(const cTimer* timer);
double FuzzyMatch(const char* s1, const char* s2, int maxLength);
-bool DescriptionMatches(const char* eDescr, const char* rDescr);
+bool DescriptionMatches(const char* eDescr, const char* rDescr, int matchLimit = 90);
const cEvent* GetEvent(cTimer* timer);
char* GetRawDescription(const char* descr);
void PrepareTimerFile(const cEvent* event, cTimer* timer);
int CompareEventTime(const void *p1, const void *p2);
int CompareEventChannel(const void *p1, const void *p2);
-bool EventsMatch(const cEvent* event1, const cEvent* event2, bool compareTitle, int compareSubtitle, bool compareSummary, unsigned long catvaluesAvoidRepeat);
+bool EventsMatch(const cEvent* event1, const cEvent* event2, bool compareTitle, int compareSubtitle, bool compareSummary, unsigned long catvaluesAvoidRepeat, int matchLimit=90);
int ChannelNrFromEvent(const cEvent* pEvent);
void DelTimer(int index);
char* FixSeparators(char* buffer, char sep);