12 #ifndef CXFILEMANAGERLSERVICEBASE_H
13 #define CXFILEMANAGERLSERVICEBASE_H
17 #include "cxResourceExport.h"
19 class ctkPluginContext;
36 virtual bool isNull();
39 QString canLoadDataType()
const;
40 bool canLoad(
const QString& type,
const QString& filename);
41 DataPtr load(
const QString& uid,
const QString& filename);
42 bool readInto(
DataPtr data, QString path);
43 std::vector<DataPtr> read(
const QString &filename);
46 void save(
DataPtr data,
const QString& filename);
52 QString findDataTypeFromFile(QString filename);
53 std::vector<FileReaderWriterServicePtr> getExportersForDataType(QString dataType);
54 std::vector<FileReaderWriterServicePtr> getImportersForDataType(QString dataType);
59 QString getFileReaderName(
const QString &filename);
63 std::set<FileReaderWriterServicePtr> mDataReaders;
68 #endif // CXFILEMANAGERLSERVICEBASE_H