diff options
author | Underground78 <underground78@users.sourceforge.net> | 2012-06-23 18:26:12 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2012-06-23 18:26:12 +0400 |
commit | aab5f9df714c409156261618c9567cdb6e73c548 (patch) | |
tree | 8326dd0727737c281de4ce19d34f1c81263627b9 /src/DSUtil/WinAPIUtils.h | |
parent | f995db49d3801c19be7021593aced6fac17bcf77 (diff) |
Move FileExists function to WinAPIUtils, remove the duplicated code and use FileExists everywhere where it makes sense to do so.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5250 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/WinAPIUtils.h')
-rw-r--r-- | src/DSUtil/WinAPIUtils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DSUtil/WinAPIUtils.h b/src/DSUtil/WinAPIUtils.h index 918480ff6..f528e8f3e 100644 --- a/src/DSUtil/WinAPIUtils.h +++ b/src/DSUtil/WinAPIUtils.h @@ -38,4 +38,6 @@ void GetStatusFont(LOGFONT* lf); bool IsFontInstalled(LPCTSTR lpszFont);
-bool ExploreToFile(CString path);
+bool ExploreToFile(LPCTSTR path);
+
+bool FileExists(LPCTSTR fileName);
|