* Added support for interfacing with Haiku style FS modules (yet
untested). * Added library with the relevant part of the Haiku kernel interface. The cache interface is missing, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20340 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
// HaikuKernelFileSystem.h
|
||||
|
||||
#ifndef USERLAND_FS_HAIKU_KERNEL_FILE_SYSTEM_H
|
||||
#define USERLAND_FS_HAIKU_KERNEL_FILE_SYSTEM_H
|
||||
|
||||
#include "FileSystem.h"
|
||||
|
||||
struct file_system_module_info;
|
||||
|
||||
namespace UserlandFS {
|
||||
|
||||
class HaikuKernelFileSystem : public FileSystem {
|
||||
public:
|
||||
HaikuKernelFileSystem(
|
||||
file_system_module_info* fsModule);
|
||||
virtual ~HaikuKernelFileSystem();
|
||||
|
||||
virtual status_t CreateVolume(Volume** volume, mount_id id);
|
||||
virtual status_t DeleteVolume(Volume* volume);
|
||||
|
||||
private:
|
||||
void _InitCapabilities();
|
||||
|
||||
private:
|
||||
file_system_module_info* fFSModule;
|
||||
};
|
||||
|
||||
} // namespace UserlandFS
|
||||
|
||||
using UserlandFS::HaikuKernelFileSystem;
|
||||
|
||||
#endif // USERLAND_FS_HAIKU_KERNEL_FILE_SYSTEM_H
|
||||
Reference in New Issue
Block a user