-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
c996fbd
commit 5b5a70f
Showing
6 changed files
with
211 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
#pragma once | ||
|
||
using namespace std; | ||
#include "stdafx.h" | ||
|
||
namespace VHDTool { | ||
|
||
void PrintError(const DWORD errorCode); | ||
|
||
const bool CheckFileExtension(const string path, const string extension); | ||
const string CheckOneOfFileExtensions(const string path, const vector<string> extensions); | ||
const string ConcatPath(const string path, const string file); | ||
const string GetFileName(const string path); | ||
const string GetFileExtension(const string path); | ||
const string GetFilePath(const string path); | ||
const bool CheckFileExtension(const std::string path, const std::string extension); | ||
const std::string CheckOneOfFileExtensions(const std::string path, const std::vector<std::string> extensions); | ||
const std::string ConcatPath(const std::string path, const std::string file); | ||
const std::string GetFileName(const std::string path); | ||
const std::string GetFileExtension(const std::string path); | ||
const std::string GetFilePath(const std::string path); | ||
|
||
const wstring toWChar(const string text); | ||
const string fromWChar(const wstring text); | ||
} | ||
const std::wstring toWChar(const std::string text); | ||
const std::string fromWChar(const std::wstring text); | ||
|
||
}; |
Oops, something went wrong.