misc/libphysfs/lzma/CPP/Windows/FileName.h
author Wuzzy <Wuzzy2@mail.ru>
Fri, 09 Feb 2018 12:52:05 +0100
changeset 12939 0112ef349ddc
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Lua API: Add HealHog to heal hog with visual effects + message

// Windows/FileName.h

#ifndef __WINDOWS_FILENAME_H
#define __WINDOWS_FILENAME_H

#include "../Common/MyString.h"

namespace NWindows {
namespace NFile {
namespace NName {

const TCHAR kDirDelimiter = CHAR_PATH_SEPARATOR;
const TCHAR kAnyStringWildcard = '*';

void NormalizeDirPathPrefix(CSysString &dirPath); // ensures that it ended with '\\'
#ifndef _UNICODE
void NormalizeDirPathPrefix(UString &dirPath); // ensures that it ended with '\\'
#endif

#ifdef _WIN32
void SplitNameToPureNameAndExtension(const UString &fullName, 
    UString &pureName, UString &extensionDelimiter, UString &extension); 
#endif

}}}

#endif