diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-14 14:04:35 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-14 14:04:35 +0200 |
commit | 67df8203b206ef5aeef860a0447103600ea69700 (patch) | |
tree | 296859991824c5f369df4839895962726a2310f5 /AFBClient.cpp | |
parent | d5377de21c1eacc164252c2631114815e7c4ae80 (diff) |
Moved the AFBClient to singleton
original author is Aurelian.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'AFBClient.cpp')
-rw-r--r-- | AFBClient.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/AFBClient.cpp b/AFBClient.cpp index c4b32db..e67e74b 100644 --- a/AFBClient.cpp +++ b/AFBClient.cpp @@ -18,6 +18,16 @@ AFBClient::AFBClient() : itf() itf.on_event = AFBClient::onEvent; } +AFBClient& AFBClient::operator =(const AFBClient &that) +{ + itf = that.itf; + return *this; +} + +AFBClient::~AFBClient() +{ +} + bool AFBClient::init() { /* get the default event loop */ |