summaryrefslogtreecommitdiff
path: root/dvdlist-item.c
diff options
context:
space:
mode:
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);
+}