mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
24 lines
474 B
C++
24 lines
474 B
C++
#ifndef ODF_H
|
|
#define ODF_H
|
|
|
|
#include <QtCore/QObject>
|
|
#include <QtCore/QVariant>
|
|
|
|
class OdfContainer;
|
|
|
|
class Odf : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
Odf(QObject* parent) :QObject(parent) {}
|
|
OdfContainer* getContainer(const QString& url);
|
|
|
|
void addFile(const QString& containerid, const QString& path);
|
|
public slots:
|
|
QString load(QString containerid, QString path, QVariant callback);
|
|
private:
|
|
QMap<QString, OdfContainer*> openfiles;
|
|
};
|
|
|
|
#endif // ODF_H
|