mirror of
https://github.com/corda/corda.git
synced 2025-01-24 05:18:24 +00:00
25 lines
416 B
C++
25 lines
416 B
C++
#ifndef FINDER_H
|
|
#define FINDER_H
|
|
|
|
#include "common.h"
|
|
#include "system.h"
|
|
#include "allocator.h"
|
|
|
|
namespace vm {
|
|
|
|
class Finder {
|
|
public:
|
|
virtual ~Finder() { }
|
|
virtual System::Region* find(const char* name) = 0;
|
|
virtual bool exists(const char* name) = 0;
|
|
virtual const char* path() = 0;
|
|
virtual void dispose() = 0;
|
|
};
|
|
|
|
Finder*
|
|
makeFinder(System* s, const char* path);
|
|
|
|
} // namespace vm
|
|
|
|
#endif//FINDER_H
|