#ifndef LRVIRTUALDATASOURCEINTF #define LRVIRTUALDATASOURCEINTF #include namespace LimeReport { struct CallbackInfo{ enum DataType{IsEmpty, HasNext, ColumnHeaderData, ColumnData}; enum ChangePosType{First, Next}; DataType dataType; int index; QString columnName; }; class ICallbackDatasource :public QObject{ Q_OBJECT signals: void getCallbackData(const LimeReport::CallbackInfo& info, QVariant& data); void changePos(const LimeReport::CallbackInfo::ChangePosType& type, bool& result); }; } #endif // LRVIRTUALDATASOURCEINTF