summaryrefslogtreecommitdiff
path: root/libsi/descriptor.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-22 13:08:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-22 13:08:04 +0100
commit45eac6d94694aa9081bdd0e06794942c49818ff1 (patch)
treeaade606ef3dd0698faabcc7a2eacef1134b85771 /libsi/descriptor.h
parent1601918327b72a75b5e5e81405c725ae923f7515 (diff)
downloadvdr-45eac6d94694aa9081bdd0e06794942c49818ff1.tar.gz
vdr-45eac6d94694aa9081bdd0e06794942c49818ff1.tar.bz2
Added PDCDescriptor handling to 'libsi'
Diffstat (limited to 'libsi/descriptor.h')
-rw-r--r--libsi/descriptor.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/libsi/descriptor.h b/libsi/descriptor.h
index 5541cc41..17c81eb0 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.5 2004/01/24 14:52:05 kls Exp $
+ * $Id: descriptor.h 1.6 2004/02/22 10:16:47 kls Exp $
* *
***************************************************************************/
@@ -383,6 +383,18 @@ private:
const descr_iso_639_language *s;
};
+class PDCDescriptor : public Descriptor {
+public:
+ int getDay() const;
+ int getMonth() const;
+ int getHour() const;
+ int getMinute() const;
+protected:
+ virtual void Parse();
+private:
+ const descr_pdc *s;
+};
+
//a descriptor currently unimplemented in this library
class UnimplementedDescriptor : public Descriptor {
protected: