diff options
Diffstat (limited to 'src/sls.h')
-rw-r--r-- | src/sls.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -41,10 +41,12 @@ # endif #endif +#include <dirent.h> #include <sys/stat.h> #include <deque> #include <fstream> #include <iostream> +#include <list> #include <algorithm> @@ -183,6 +185,21 @@ class History { }; +// --- SlideStore ----------------------------------------------------------------- +class SlideStore { +private: + std::list<slide_metadata_t> slides; + History history; + + static int FilterSlides(const struct dirent* file); +public: + bool InitFromDir(const std::string& dir); + + bool Empty() {return slides.empty();} + slide_metadata_t GetSlide(); +}; + + // --- MOTHeader ----------------------------------------------------------------- class MOTHeader { private: |