новые иконки в OpenBoard
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.
OpenBoard/src/adaptors/UBImportAdaptor.h

32 lines
675 B

/*
* UBImportAdaptor.h
*
* Created on: Feb 11, 2009
* Author: julienbachmann
*/
#ifndef UBIMPORTADAPTOR_H_
#define UBIMPORTADAPTOR_H_
#include <QtGui>
class UBDocumentProxy;
class UBImportAdaptor : public QObject
{
Q_OBJECT;
protected:
UBImportAdaptor(QObject *parent = 0);
virtual ~UBImportAdaptor();
public:
virtual QStringList supportedExtentions() = 0;
virtual QString importFileFilter() = 0;
virtual UBDocumentProxy* importFile(const QFile& pFile, const QString& pGroup);
virtual bool addFileToDocument(UBDocumentProxy* pDocument, const QFile& pFile) = 0;
};
#endif /* UBIMPORTADAPTOR_H_ */