diff options
Diffstat (limited to 'AFBClient.h')
-rw-r--r-- | AFBClient.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/AFBClient.h b/AFBClient.h index fa88663..1005432 100644 --- a/AFBClient.h +++ b/AFBClient.h @@ -15,8 +15,18 @@ extern "C" class AFBClient { + explicit AFBClient(); + AFBClient(const AFBClient& that) = delete; + AFBClient& operator=(AFBClient const&); + virtual~AFBClient(); + public: - AFBClient(); + static AFBClient &instance() + { + static AFBClient obj; + return obj; + } + bool init(); void requestSurface(const char *label); void activateSurface(const char *label); |