]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormFiledialog.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / FormFiledialog.h
index 4f4032444d19f09264130d7f7b1245b89047e5ae..6e613d745d14540a2cffe208e7a4c78b6f9ee5b8 100644 (file)
@@ -1,11 +1,13 @@
 // -*- C++ -*-
 /**
  * \file FormFiledialog.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author unknown
- * \author John Levon, moz@compsoc.man.ac.uk
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMFILEDIALOG_H
 
 #include <vector>
 
+class Dialogs;
+
 /// DirEntry internal structure definition
 class DirEntry {
 public:
        ///
-       string pszName;
+       string name_;
        ///
-       string pszDisplayed;
+       string displayed_;
        ///
-       string pszLsEntry;
+       string ls_entry_;
 };
 
 
@@ -51,7 +55,7 @@ class FD_filedialog;
 class FileDialog::Private : public boost::signals::trackable {
 public:
        ///
-       Private();
+       Private(Dialogs &);
        ///
        ~Private();
 
@@ -74,35 +78,35 @@ public:
 
 private:
        /// data
-       static FD_filedialog * pFileDlgForm;
+       static FD_filedialog * file_dlg_form_;
        ///
-       static FileDialog::Private * pCurrentDlg;
+       static FileDialog::Private * current_dlg_;
        ///
-       string pszUserPath1;
+       string user_path1_;
        ///
-       string pszUserPath2;
+       string user_path2_;
        ///
-       string pszDirectory;
+       string directory_;
        ///
-       string pszMask;
+       string mask_;
        ///
-       string pszFileName;
+       string file_name_;
        ///
-       int iDepth;
+       int depth_;
        ///
-       int iLastSel;
+       int last_sel_;
        ///
-       long lLastTime;
+       long last_time_;
        ///
-       string pszInfoLine;
+       string info_line_;
        ///
        typedef std::vector<DirEntry> DirEntries;
        ///
-       DirEntries direntries;
+       DirEntries dir_entries_;
        ///
-       bool force_cancel;
+       bool force_cancel_;
        ///
-       bool force_ok;
+       bool force_ok_;
 
        /** Redraw the form (on receipt of a Signal indicating, for example,
            that the xform colors have been re-mapped).