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