#ifndef IPROVIDER #define IPROVIDER #include #include "type/Log.h" class IDataProvider { public: virtual ~IDataProvider() { } signals: virtual void provided(const Log_ptr log) = 0; }; Q_DECLARE_INTERFACE(IDataProvider, "IDataProvider") //define this out of namespace scope #endif //IPROVIDER