1 #ifndef CATALOGCONNECTOR_H
2 #define CATALOGCONNECTOR_H
4 #include "Kernel_global.h"
10 class CatalogConnector;
11 class CatalogExplorer;
13 typedef std::unique_ptr<CatalogConnector> UPCatalogConnector;
14 typedef std::unique_ptr<CatalogExplorer> UPCatalogExplorer;
19 enum FilterOptions{ foFULLPATHS=1, foNAMESONLY=2, foEXTENSIONFILTER=4};
20 enum OpenMode { omTEXT, omBINARY};
31 virtual bool canUse(
const Resource& resource)
const;
33 virtual QFileInfo toLocalFile(
const Resource &datasource)
const;
34 virtual QFileInfo toLocalFile(
const QUrl &url)
const;
36 QString provider()
const;
41 virtual bool loadExplorers();
45 std::vector<UPCatalogExplorer> _dataProviders;
51 #endif // CATALOGCONNECTOR_H