25 lines
480 B
C++
25 lines
480 B
C++
#ifndef __FISHBONE_BASE_H__
|
|
#define __FISHBONE_BASE_H__
|
|
|
|
#include <fishbone/pre.h>
|
|
|
|
namespace fishbone {
|
|
class Base;
|
|
};
|
|
|
|
#include <fishbone/log.h>
|
|
#include <fishbone/file.h>
|
|
|
|
namespace fishbone {
|
|
class Base : public fishbone::Logger {
|
|
fishbone::StringArrayMap mountpoints;
|
|
|
|
public:
|
|
Base(fishbone::StringArrayMap param);
|
|
|
|
void mount(std::string name, std::string path);
|
|
fishbone::File* open(std::string path, std::string mode);
|
|
};
|
|
}; // namespace fishbone
|
|
|
|
#endif
|