summaryrefslogtreecommitdiff
path: root/displaytracks.h
diff options
context:
space:
mode:
Diffstat (limited to 'displaytracks.h')
-rw-r--r--displaytracks.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/displaytracks.h b/displaytracks.h
index 05c5596..0442b9a 100644
--- a/displaytracks.h
+++ b/displaytracks.h
@@ -4,6 +4,8 @@
#include <vdr/skins.h>
#include <vdr/thread.h>
#include "menuitem.h"
+#include <memory>
+#include <vector>
class cNopacityDisplayTracks : public cSkinDisplayTracks, cThread {
private:
@@ -22,7 +24,7 @@ private:
cPixmap *pixmapHeader;
cPixmap *pixmapHeaderAudio;
cPixmap *pixmapIcon;
- cList<cNopacityMenuItem> menuItems;
+ std::vector<std::unique_ptr<cNopacityMenuItem>> menuItems;
virtual void Action(void);
void SetItem(const char *Text, int Index, bool Current);
void SetGeometry(void);
@@ -37,4 +39,4 @@ public:
};
-#endif //__NOPACITY_DISPLAYTRACKS_H \ No newline at end of file
+#endif //__NOPACITY_DISPLAYTRACKS_H