other-licenses/7zstub/src/7zip/Archive/Common/ItemNameUtils.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/other-licenses/7zstub/src/7zip/Archive/Common/ItemNameUtils.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +// Archive/Common/ItemNameUtils.h
     1.5 +
     1.6 +#ifndef __ARCHIVE_ITEMNAMEUTILS_H
     1.7 +#define __ARCHIVE_ITEMNAMEUTILS_H
     1.8 +
     1.9 +#include "../../../Common/String.h"
    1.10 +
    1.11 +namespace NArchive {
    1.12 +namespace NItemName {
    1.13 +
    1.14 +  UString MakeLegalName(const UString &name);
    1.15 +  UString GetOSName(const UString &name);
    1.16 +  UString GetOSName2(const UString &name);
    1.17 +  bool HasTailSlash(const AString &name, UINT codePage);
    1.18 +
    1.19 +  #ifdef _WIN32
    1.20 +  inline UString WinNameToOSName(const UString &name)  { return name; }
    1.21 +  #else
    1.22 +  UString WinNameToOSName(const UString &name);
    1.23 +  #endif
    1.24 +
    1.25 +}}
    1.26 +
    1.27 +#endif

mercurial