17 lines
262 B
C++
17 lines
262 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "vfs.h"
|
|
|
|
class CommandProcessor {
|
|
public:
|
|
CommandProcessor(vfs_node* starting_dir);
|
|
|
|
std::string process_command(const std::string& command);
|
|
vfs_node* get_current_dir(void);
|
|
|
|
private:
|
|
vfs_node* _current_dir;
|
|
};
|