]> git.lyx.org Git - lyx.git/blobdiff - src/filedlg.h
Update NEWS, fix a few buglets
[lyx.git] / src / filedlg.h
index 40415c71851b7817e8c1cd54d3bb8acee8700110..e51547fb65d1985f2219465186fa2270947596e2 100644 (file)
 #include FORMS_H_LOCATION
 #include "form1.h"
 
-using std::vector;
-
 /// LyXDirEntry internal structure definition
-class LyXDirEntry
-{
+class LyXDirEntry {
 public:
+       ///
        string pszName;
+       ///
        string pszDisplayed;
+       ///
        string pszLsEntry;
 };
 
@@ -45,9 +45,9 @@ public:
        void SetButton(int iIndex, string const & pszName = string(), 
                       string const & pszPath = string());
        /// gets last dialog directory
-       string GetDirectory() const;
+       string const GetDirectory() const;
        /// launches dialog and returns selected file
-       string Select(string const & pszTitle = string(),
+       string const Select(string const & pszTitle = string(),
                       string const & pszPath = string(),
                       string const & pszMask = string(), 
                       string const & pszSuggested = string());
@@ -81,7 +81,7 @@ private:
        ///
        string pszInfoLine;
        ///
-       typedef vector<LyXDirEntry> DirEntries;
+       typedef std::vector<LyXDirEntry> DirEntries;
        ///
        DirEntries direntries;
        ///