Moved the AFBClient to singleton
[staging/windowmanager.git] / AFBClient.cpp
index c4b32db..e67e74b 100644 (file)
@@ -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 */