23 lines
468 B
C++
23 lines
468 B
C++
#include <fugg.h>
|
|
|
|
namespace fugg {
|
|
class Client {
|
|
Client();
|
|
|
|
public:
|
|
static Client& instance();
|
|
|
|
Client(Client const&) = delete;
|
|
void operator=(Client const&) = delete;
|
|
|
|
void initialise();
|
|
// Execute the `main` function of the flyff-client.
|
|
int main() const;
|
|
|
|
template<typename T>
|
|
T* allocate(size_t size);
|
|
|
|
template<typename T>
|
|
void deallocate(T* ptr);
|
|
};
|
|
} |