#include <QObject>
#include <QString>
-#include <QWeakPointer>
#include <QHash>
namespace eVaf {
private:
/// All the registered interfaces
- QHash<QString, QWeakPointer<QObject> > mInterfaces;
+ typedef QHash<QString, QObject *> Interfaces;
+ Interfaces mInterfaces;
+
+
+private slots:
+
+ /// Interface object destroyed
+ /// We need to remove the interface from the list of registered interfaces
+ void interfaceDestroyed(QObject * obj = 0);
};