41 #ifndef __OPENFLUID_WARESDEV_FLUIDHUBWARESIMPORTWORKER_HPP__
42 #define __OPENFLUID_WARESDEV_FLUIDHUBWARESIMPORTWORKER_HPP__
47 #include <QStringList>
53 namespace openfluid {
namespace waresdev {
63 typedef QMap<openfluid::ware::WareType, openfluid::utils::FluidHubAPIClient::WaresDetailsByID_t>
81 std::map<openfluid::ware::WareType, QStringList> m_SelectedWaresUrlByType;
86 void info(
const QString& Message);
88 void error(
const QString& Message);
90 void finished(
bool Ok,
const QString& Message);
92 void progressed(
int Value);
101 bool login(
const QString& Username,
const QString& Password);
114 bool isConnected()
const;
116 bool isLoggedIn()
const;
118 bool isV0ofAPI()
const;
120 QString getUsername()
const;
125 void setSelectedWaresUrl(
const std::map<openfluid::ware::WareType, QStringList>& SelectedWaresUrlByType);