typo fix
[pykit.git] / Viewer.hh
index e7bed7a..ff99a3f 100644 (file)
--- a/Viewer.hh
+++ b/Viewer.hh
@@ -30,7 +30,13 @@ namespace pykit {
         Viewer(QUrl const & url, Publisher * publisher, QWidget * parent = 0);
         ~Viewer();
 
+        static Viewer * instance();
+
+        Q_INVOKABLE bool canGoBack();
+        Q_INVOKABLE bool canGoForward();
+
     private slots:
+        void initJSObjects();
         void printRequested();
 
     private: