summaryrefslogtreecommitdiff
path: root/dvdlist-item.c
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2010-12-21 20:36:58 +0100
committeranbr <vdr07@deltab.de>2010-12-21 20:36:58 +0100
commit10a33e14d6338ff004410413f6fe52810be43f67 (patch)
tree6f71b062e9235be1383a9e6c536fea336d400e6c /dvdlist-item.c
downloadvdr-plugin-dvdswitch-0.1.0.tar.gz
vdr-plugin-dvdswitch-0.1.0.tar.bz2
release 0.1.0 from http://www.schmidtie.de/download/vdr-dvdswitch-0.1.0.tar.bz20.1.0
Diffstat (limited to 'dvdlist-item.c')
-rw-r--r--dvdlist-item.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/dvdlist-item.c b/dvdlist-item.c
new file mode 100644
index 0000000..2c820c7
--- /dev/null
+++ b/dvdlist-item.c
@@ -0,0 +1,15 @@
+#include "dvdlist-item.h"
+#include "helpers.h"
+
+// --- cDVDListItem --------------------------------------------------------
+
+cDVDListItem::cDVDListItem(char* file)
+{
+ DEBUG("Neues DVDItem -> %s", file);
+ File = file ? strdup(file) : NULL;
+}
+
+cDVDListItem::~ cDVDListItem(void)
+{
+ free(File);
+}