2026-06-05 21:43:30 +09:00
|
|
|
#ifndef __FISHBONE_BASE_H__
|
|
|
|
|
#define __FISHBONE_BASE_H__
|
|
|
|
|
|
|
|
|
|
#include <fishbone/pre.h>
|
|
|
|
|
|
|
|
|
|
namespace fishbone {
|
|
|
|
|
class Base;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#include <fishbone/log.h>
|
2026-06-06 22:30:58 +09:00
|
|
|
#include <fishbone/file.h>
|
2026-06-05 21:43:30 +09:00
|
|
|
|
|
|
|
|
namespace fishbone {
|
|
|
|
|
class Base : public fishbone::Logger {
|
2026-06-06 22:30:58 +09:00
|
|
|
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);
|
2026-06-05 21:43:30 +09:00
|
|
|
};
|
|
|
|
|
}; // namespace fishbone
|
|
|
|
|
|
|
|
|
|
#endif
|