view import/ImportClassicalArchives.h @ 11:98047b91b09d classical-rdf

* Add "proper" composer name matching from user input. Needs to be faster though
author Chris Cannam
date Thu, 18 Feb 2010 18:16:43 +0000
parents 719a4f477098
children
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */

#ifndef _IMPORT_CLASSICAL_ARCHIVES_H_
#define _IMPORT_CLASSICAL_ARCHIVES_H_

#include "Importer.h"

namespace ClassicalData {

class ClassicalArchivesImporter : public Importer
{
    Q_OBJECT

public:
    virtual void setSource(QUrl source);

    virtual QObjectList getImportedObjects() { return m_objects; }

protected:
    void import(QUrl source);

    QObjectList m_objects;
};

}

Q_DECLARE_METATYPE(ClassicalData::ClassicalArchivesImporter*);

#endif