]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/FormFiledialog.h
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / xforms / FormFiledialog.h
index 02228445080a2fe595dd62773b40a319a440ddbb..ae0b2cdaeb1f0223ee47ead1a81aa55ead14dee9 100644 (file)
@@ -7,18 +7,15 @@
  * \author unknown
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMFILEDIALOG_H
 #define FORMFILEDIALOG_H
 
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "LString.h"
+#include "support/std_string.h"
 
 #include "forms_fwd.h"
 
@@ -55,7 +52,7 @@ class FD_filedialog;
 class FileDialog::Private : public boost::signals::trackable {
 public:
        ///
-       Private(Dialogs &);
+       Private();
        ///
        ~Private();
 
@@ -69,6 +66,10 @@ public:
                       string const & pszPath = string(),
                       string const & pszMask = string(),
                       string const & pszSuggested = string());
+       /// launches dialog and returns selected directory
+       string const SelectDir(string const & pszTitle = string(),
+                      string const & pszPath = string(),
+                      string const & pszSuggested = string());
        /// XForms objects callback (static)
        static void FileDlgCB(FL_OBJECT *, long);
        /// Callback for double click in list