provide python interpreter for mussa qui via a seperate thread
[mussa.git] / qui / MussaWindow.hpp
index b538cc0faf353a9f51e7f4d426f784cd7ce18f99..1d6e2746d4da9e8353affa18532500be2b914770 100644 (file)
@@ -26,6 +26,9 @@ class QLabel;
 class QStringList;
 class Mussa;
 class QAssistantClient;
+class MussaWindow;
+
+typedef boost::shared_ptr<MussaWindow> MussaWindowRef;
 
 class MussaWindow : public QMainWindow
 {
@@ -34,6 +37,7 @@ class MussaWindow : public QMainWindow
 public: 
   MussaWindow(MussaRef analysis, QWidget *parent=0);
 
+public:
   //! reset any attached window
   void clear();
 
@@ -80,7 +84,7 @@ public slots:
   //! set the soft threshold used by the Nway_Path algorithm
   void setSoftThreshold(int thres);
   //! update progress bar
-  void updateProgress(const std::string& description, int cur, int max);
+  void updateProgress(const QString& description, int cur, int max);
 
   //! open a new mussa window so one can compare analyses
   void newMussaWindow();
@@ -159,4 +163,5 @@ protected slots:
   //! update annotations?
   void updateAnnotations();
 };
+
 #endif