Initial editbox version
[ttodo.git] / todo.h
blob371e9328e7597bcbdff5c055112c16c9a69bfccc
1 // todo.h
2 //
4 #ifndef TODO_H_2485BD5D6B62EC7E1E1B95096F9679E7
5 #define TODO_H_2485BD5D6B62EC7E1E1B95096F9679E7
7 #include "tidrv.h"
8 #include "tde.h"
10 class CTodoApp {
11 public:
12 typedef int argc_t;
13 typedef const char* const* argv_t;
14 public:
15 static CTodoApp& Instance (void);
16 void Initialize (argc_t argc, argv_t argv);
17 void Deinitialize (void);
18 int Run (void);
19 private:
20 typedef vector<CTodoEntry> todolist_t;
21 private:
22 CTodoApp (void);
23 void Draw (CGC& gc);
24 void LoadData (void);
25 void SaveData (void) const;
26 private:
27 CTerminfoBackend m_Device;
28 todolist_t m_Todos;
29 uint32_t m_Selection;
32 #endif