compile
[kdegraphics.git] / okular / core / scripter.h
blob69cf5d49121836bc7703ef6c3034b358659b066a
1 /***************************************************************************
2 * Copyright (C) 2008 by Pino Toscano <pino@kde.org> *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef OKULAR_SCRIPTER_H
11 #define OKULAR_SCRIPTER_H
13 #include "global.h"
15 class QString;
16 class QStringList;
18 namespace Okular {
20 class Document;
21 class DocumentPrivate;
22 class ScripterPrivate;
24 class Scripter
26 friend class Document;
27 friend class DocumentPrivate;
29 public:
30 ~Scripter();
32 QString execute( ScriptType type, const QString &script );
34 private:
35 friend class ScripterPrivate;
36 ScripterPrivate* d;
38 Scripter( DocumentPrivate *doc );
43 #endif