]> git.lyx.org Git - features.git/blobdiff - src/support/ProgressInterface.h
Fix bug #8032 (timeout when using the Sweave module)
[features.git] / src / support / ProgressInterface.h
index a9b6d2bc432c22351f612f04c96b313264211d48..79e2e8b0542972b4ca01bd9126141ceee6e733d9 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef LYX_SUPPORT_PROGRESSINTERFACE_H
 #define LYX_SUPPORT_PROGRESSINTERFACE_H
 
+class docstring;
 class QString;
 
 namespace lyx {
@@ -36,6 +37,9 @@ public:
        virtual void toggleWarning(QString const & title, QString const & msg, QString const & formatted) = 0;
        virtual void error(QString const & title, QString const & message) = 0;
        virtual void information(QString const & title, QString const & message) = 0;
+       virtual int prompt(docstring const & title, docstring const & question,
+                          int default_button, int cancel_button,
+                          docstring const & b1, docstring const & b2) = 0;
 
        virtual void lyxerrConnect() = 0;
        virtual void lyxerrDisconnect() = 0;