]> git.lyx.org Git - lyx.git/blobdiff - src/filedlg.h
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / filedlg.h
index e51547fb65d1985f2219465186fa2270947596e2..2633d708824a5806196a1c32aa58de861e276495 100644 (file)
 #endif
 
 #include <vector>
+#include <sigc++/signal_system.h>
 
 #include "LString.h"
 #include FORMS_H_LOCATION
 #include "form1.h"
 
+#ifdef SIGC_CXX_NAMESPACES
+using SigC::Object;
+using SigC::Connection;
+#endif
+
 /// LyXDirEntry internal structure definition
 class LyXDirEntry {
 public:
@@ -35,11 +41,13 @@ public:
 
 
 /// FileDlg class definition
-class LyXFileDlg 
+class LyXFileDlg : public Object
 {
 public:
        ///
        LyXFileDlg();
+       ///
+       ~LyXFileDlg();
 
        /// sets file selector user button action
        void SetButton(int iIndex, string const & pszName = string(), 
@@ -89,6 +97,10 @@ private:
        ///
        bool force_ok;
 
+       /** Redraw the form (on receipt of a Signal indicating, for example,
+           that the xform colors have been re-mapped).
+       */
+       void redraw();
        /// updates dialog list to match class directory
        void Reread();
        /// sets dialog current directory
@@ -107,6 +119,8 @@ private:
        bool HandleOK();
        /// Simulates a click on OK/Cancel
        void Force(bool);
+       /// Redraw connection.
+       Connection r_;
 };
 
 #endif