mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
added 'file_modified_time' function, which should be faster than using wxFileName
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1519 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
#ifndef HEADER_UTIL_FILE_UTILS
|
||||
#define HEADER_UTIL_FILE_UTILS
|
||||
#ifndef HEADER_UTIL_FILE_UTILS
|
||||
#define HEADER_UTIL_FILE_UTILS
|
||||
|
||||
// ----------------------------------------------------------------------------- : Includes
|
||||
|
||||
@@ -32,6 +32,11 @@ String clean_filename(const String& name);
|
||||
/** Returns true if the filename should be used, false if failed. */
|
||||
bool resolve_filename_conflicts(wxFileName& fn, FilenameConflicts conflicts, set<String>& used);
|
||||
|
||||
// ----------------------------------------------------------------------------- : File info
|
||||
|
||||
/// Get the last modified time of a file
|
||||
time_t file_modified_time(const String& name);
|
||||
|
||||
// ----------------------------------------------------------------------------- : Removing and renaming
|
||||
|
||||
/// Ensure that the parent directories of the given filename exist
|
||||
|
||||
Reference in New Issue
Block a user