ginebra2/ViewController.h
changeset 16 3c88a81ff781
parent 3 0954f5dd2cd0
--- a/ginebra2/ViewController.h	Thu Sep 23 15:32:11 2010 -0400
+++ b/ginebra2/ViewController.h	Fri Oct 15 17:30:59 2010 -0400
@@ -57,8 +57,7 @@
     ControllableViewBase *view(const QString &name) { return m_viewMap[name]; }
 
     ControllableViewBase *currentView();
-
-    void viewChanged();
+    const QString & currentViewName();
 
   public slots:
     // Returns the currently visible view as a javascript-usable object.
@@ -85,7 +84,8 @@
     void currentViewChanging();
 
     // Sent when the current view has changed.
-    void currentViewChanged();
+    void currentViewChanged(ControllableViewBase *newView);
+    
 
     // Not for javascript use.
     void javaScriptWindowObjectCleared(QWebPage *);