~unity-team/nux/nux.remove-deprecated

« back to all changes in this revision

Viewing changes to NuxCore/FileManager/NFileManagerWindows.h

  • Committer: Tarmac
  • Author(s): Jay Taoko, Michi Henning
  • Date: 2012-10-11 18:57:49 UTC
  • mfrom: (686.3.4 nux.nstring-removal)
  • Revision ID: tarmac-20121011185749-v8y4evu36vue3rfx
* Removal of nux::NString in favor of std::string.
* The branch has a lot of changes due to the enablement of -Werror. All the warnings have been fixed.
* -Werror is disabled when building with --enable-debug.

[Test] The changes are covered by existing tests.. Fixes: https://bugs.launchpad.net/bugs/1065293. Approved by Jay Taoko.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
    bool DeleteDirectory (const TCHAR *Path, bool DeleteContentFirst = false);
131
131
 
132
132
 
133
 
    void FindFiles (std::vector<NString>& Result, const TCHAR *Filename, bool Files, bool Directories);
134
 
    void ListFilesInDirectory (std::vector<NString>& Result, const TCHAR *DirName);
 
133
    void FindFiles (std::vector<std::string>& Result, const TCHAR *Filename, bool Files, bool Directories);
 
134
    void ListFilesInDirectory (std::vector<std::string>& Result, const TCHAR *DirName);
135
135
    double GetFileAgeSeconds (const TCHAR *Filename);
136
136
    time_t GetFileLastModified (const TCHAR *Filename);
137
137
    bool GetFileLastModified (const TCHAR *Filename, SYSTEMTIME &sysTime, bool bLocalTime);
138
138
    bool SetDefaultDirectory();
139
 
    NString GetCurrentDirectory();
 
139
    std::string GetCurrentDirectory();
140
140
    bool GetTimeStamp (const TCHAR *Filename, FileTimeStamp &Timestamp);
141
141
  };
142
142