You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
380 B
21 lines
380 B
#ifndef IPROVIDER
|
|
#define IPROVIDER
|
|
|
|
#include <QObject>
|
|
#include "type/Log.h"
|
|
|
|
class IDataProvider
|
|
{
|
|
public:
|
|
virtual ~IDataProvider()
|
|
{
|
|
}
|
|
|
|
signals:
|
|
virtual void provided(const Log_ptr log) = 0;
|
|
};
|
|
|
|
using DataProvider_ptr = std::shared_ptr<IDataProvider>;
|
|
Q_DECLARE_INTERFACE(IDataProvider, "IDataProvider") //define this out of namespace scope
|
|
|
|
#endif //IPROVIDER
|
|
|