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

// FileBrowser.h
#ifndef _FileBrowser_h_
#define _FileBrowser_h_
#include <cstdlib>
#include <iostream>
#include <string>
#include <sstream>
#include "Buffer.h"
class FileBrowser
{
public:
void run();
private:
void display();
void execute_command(char command, bool & done);
Buffer buffer_;
int maximum_length_;
int window_height_;
std::string error_message_;
};
#endif