| 1 | #ifndef MAIN_HH |
| 2 | #define MAIN_HH |
| 3 | |
| 4 | #include <vector> |
| 5 | #include <string> |
| 6 | |
| 7 | extern std::vector<std::string> fullpaths; |
| 8 | extern std::vector<std::string> dispaths; |
| 9 | extern int browseId; |
| 10 | extern bool isPassHidden; |
| 11 | extern std::string realpass; |
| 12 | |
| 13 | class Fl_Text_Display; |
| 14 | class Fl_Text_Buffer; |
| 15 | |
| 16 | extern Fl_Text_Display *textview; |
| 17 | extern Fl_Text_Buffer *textbuf; |
| 18 | |
| 19 | void browse(std::string &path, bool isNew); |
| 20 | void clearpaths(bool isReset, std::string &path); |
| 21 | void updatelist(); |
| 22 | void scandir(const std::string& dir, const std::string& root, std::vector<std::string>& paths); |
| 23 | |
| 24 | #endif |