You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
437 B

4 years ago
4 years ago
  1. // FileBrowser.h
  2. #ifndef _FileBrowser_h_
  3. #define _FileBrowser_h_
  4. #include <cstdlib>
  5. #include <iostream>
  6. #include <string>
  7. #include <sstream>
  8. #include "Buffer.h"
  9. class FileBrowser
  10. {
  11. public:
  12. void run();
  13. private:
  14. void display();
  15. void execute_command(char command, bool & done);
  16. Buffer buffer_;
  17. int maximum_length_;
  18. int window_height_;
  19. std::string error_message_;
  20. };
  21. #endif