summaryrefslogtreecommitdiff
path: root/libsi/descriptor.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-03-20 10:56:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-03-20 10:56:24 +0100
commit9ba28250325bd0f16a4d797482b2fdc42024bce7 (patch)
treedc6da22f5bf39e91dfb75602c15799f531b2dad1 /libsi/descriptor.h
parent458f9bba13f642cf9d811f54f12d8dac1a9f8865 (diff)
downloadvdr-9ba28250325bd0f16a4d797482b2fdc42024bce7.tar.gz
vdr-9ba28250325bd0f16a4d797482b2fdc42024bce7.tar.bz2
Fixed handling text lengths for itemized EPG texts
Diffstat (limited to 'libsi/descriptor.h')
-rw-r--r--libsi/descriptor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsi/descriptor.h b/libsi/descriptor.h
index 3368b0a9..692563fc 100644
--- a/libsi/descriptor.h
+++ b/libsi/descriptor.h
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: descriptor.h 1.7 2004/03/07 11:13:54 kls Exp $
+ * $Id: descriptor.h 1.8 2004/03/20 10:52:22 kls Exp $
* *
***************************************************************************/
@@ -50,7 +50,7 @@ private:
class ExtendedEventDescriptors : public DescriptorGroup {
public:
- int getMaximumTextLength();
+ int getMaximumTextLength(const char *separation1="\t", const char *separation2="\n");
//Returns a concatenated version of first the non-itemized and then the itemized text
//same semantics as with SI::String
char *getText(const char *separation1="\t", const char *separation2="\n");
@@ -66,7 +66,7 @@ public:
//Between the description and the text the separation1 character is used,
//separation2 used between two pairs. Example:
//Director\tSteven Spielberg\nActor\tMichael Mendl\n
- int getMaximumTextItemizedLength();
+ int getMaximumTextItemizedLength(const char *separation1="\t", const char *separation2="\n");
char *getTextItemized(const char *separation1="\t", const char *separation2="\n");
char *getTextItemized(char *buffer, const char *separation1="\t", const char *separation2="\n");
//returns the itemized text pair by pair. Maximum length for buffers is 256.