mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-12 09:10:00 -06:00
4.48 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
0b33f700a6
commit
fd8b1d78b4
@@ -4,7 +4,7 @@
|
||||
#define __EXTRACTCALLBACK_H
|
||||
|
||||
#include "../UI/Agent/IFolderArchive.h"
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
#ifdef _SFX
|
||||
#include "Resource/ProgressDialog/ProgressDialog.h"
|
||||
|
||||
@@ -1027,6 +1027,22 @@ SOURCE=..\..\Common\MyCom.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\MyString.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\MyString.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\MyVector.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\MyVector.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\NewHandler.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -1059,14 +1075,6 @@ SOURCE=..\..\Common\StdOutStream.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\String.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\String.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\StringConvert.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -1103,14 +1111,6 @@ SOURCE=..\..\Common\UTFConvert.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\Vector.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\Vector.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Common\Wildcard.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __FSDRIVES_H
|
||||
#define __FSDRIVES_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
#include "Common/Types.h"
|
||||
#include "Common/MyCom.h"
|
||||
#include "Windows/FileFind.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __FSFOLDER_H
|
||||
#define __FSFOLDER_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
#include "Common/MyCom.h"
|
||||
#include "Windows/FileFind.h"
|
||||
#include "Windows/PropVariant.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#define __FORMATUTILS_H
|
||||
|
||||
#include "Common/Types.h"
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
UString NumberToString(UInt64 number);
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __HELPUTILS_H
|
||||
#define __HELPUTILS_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
void ShowHelpWindow(HWND hwnd, LPCWSTR topicFile);
|
||||
|
||||
|
||||
@@ -134,10 +134,32 @@ bool SplidID(const UString &id, WORD &primID, WORD &subID)
|
||||
return (*end == 0);
|
||||
}
|
||||
|
||||
typedef LANGID (WINAPI *GetUserDefaultUILanguageP)();
|
||||
|
||||
void FindMatchLang(UString &shortName)
|
||||
{
|
||||
shortName.Empty();
|
||||
LANGID langID = GetUserDefaultLangID();
|
||||
|
||||
LANGID SystemDefaultLangID = GetSystemDefaultLangID(); // Lang for non-Unicode in XP64
|
||||
LANGID UserDefaultLangID = GetUserDefaultLangID(); // Standarts and formats in XP64
|
||||
|
||||
if (SystemDefaultLangID != UserDefaultLangID)
|
||||
return;
|
||||
LANGID langID = UserDefaultLangID;
|
||||
/*
|
||||
LANGID SystemDefaultUILanguage; // english in XP64
|
||||
LANGID UserDefaultUILanguage; // english in XP64
|
||||
|
||||
GetUserDefaultUILanguageP fn = (GetUserDefaultUILanguageP)GetProcAddress(
|
||||
GetModuleHandle("kernel32"), "GetUserDefaultUILanguage");
|
||||
if (fn != NULL)
|
||||
UserDefaultUILanguage = fn();
|
||||
fn = (GetUserDefaultUILanguageP)GetProcAddress(
|
||||
GetModuleHandle("kernel32"), "GetSystemDefaultUILanguage");
|
||||
if (fn != NULL)
|
||||
SystemDefaultUILanguage = fn();
|
||||
*/
|
||||
|
||||
WORD primLang = (WORD)(PRIMARYLANGID(langID));
|
||||
WORD subLang = (WORD)(SUBLANGID(langID));
|
||||
CObjectVector<CLangEx> langs;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __NETFOLDER_H
|
||||
#define __NETFOLDER_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
#include "Common/Buffer.h"
|
||||
#include "Common/MyCom.h"
|
||||
#include "Windows/PropVariant.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __OPENCALLBACK_H
|
||||
#define __OPENCALLBACK_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
#include "Common/MyCom.h"
|
||||
#include "Windows/FileFind.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/StringConvert.h"
|
||||
|
||||
#include "Windows/PropVariant.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __PHYSDRIVEFOLDER_H
|
||||
#define __PHYSDRIVEFOLDER_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
#include "Common/MyCom.h"
|
||||
|
||||
#include "IFolder.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __PLUGININTERFACE_H
|
||||
#define __PLUGININTERFACE_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
// {23170F69-40C1-278D-0000-000100010000}
|
||||
DEFINE_GUID(IID_IInitContextMenu,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __PROGRAMLOCATION_H
|
||||
#define __PROGRAMLOCATION_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
bool GetProgramFolderPath(UString &folder); // normalized
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __PROPERTYNAME_H
|
||||
#define __PROPERTYNAME_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
UString GetNameOfProperty(PROPID propID);
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
#ifndef __REGISTRYASSOCIATIONS_H
|
||||
#define __REGISTRYASSOCIATIONS_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/Vector.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
namespace NRegistryAssociations {
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
#ifndef __REGISTRYPLUGINS_H
|
||||
#define __REGISTRYPLUGINS_H
|
||||
|
||||
#include "Common/Vector.h"
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
enum EPluginType
|
||||
{
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
#include "StdAfx.h"
|
||||
#include "ListViewDialog.h"
|
||||
|
||||
#include "Common/Vector.h"
|
||||
|
||||
#ifdef LANG
|
||||
#include "../../LangUtils.h"
|
||||
static CIDLangPair kIDLangPairs[] =
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __ROOTFOLDER_H
|
||||
#define __ROOTFOLDER_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
#include "Windows/PropVariant.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __SPLITUTILS_H
|
||||
#define __SPLITUTILS_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
#include "Common/Types.h"
|
||||
#include "Windows/Control/ComboBox.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __STRINGUTILS_H
|
||||
#define __STRINGUTILS_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
void SplitStringToTwoStrings(const UString &src, UString &dest1, UString &dest2);
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef __SYSICONUTILS_H
|
||||
#define __SYSICONUTILS_H
|
||||
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
struct CExtIconPair
|
||||
{
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
#ifndef __COMMON_TEXTPAIRS_H
|
||||
#define __COMMON_TEXTPAIRS_H
|
||||
|
||||
#include "Common/Vector.h"
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
struct CTextPair
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#define __UPDATE_CALLBACK100_H
|
||||
|
||||
#include "Common/MyCom.h"
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
#include "../UI/Agent/IFolderArchive.h"
|
||||
#include "Resource/ProgressDialog2/ProgressDialog.h"
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
#ifndef __VIEWSETTINGS_H
|
||||
#define __VIEWSETTINGS_H
|
||||
|
||||
#include "Common/Vector.h"
|
||||
#include "Common/String.h"
|
||||
#include "Common/MyString.h"
|
||||
|
||||
struct CColumnInfo
|
||||
{
|
||||
|
||||
@@ -59,12 +59,12 @@ COMMON_OBJS = \
|
||||
$O\Random.obj \
|
||||
$O\StdInStream.obj \
|
||||
$O\StdOutStream.obj \
|
||||
$O\String.obj \
|
||||
$O\MyString.obj \
|
||||
$O\StringConvert.obj \
|
||||
$O\StringToInt.obj \
|
||||
$O\TextConfig.obj \
|
||||
$O\UTFConvert.obj \
|
||||
$O\Vector.obj \
|
||||
$O\MyVector.obj \
|
||||
$O\Wildcard.obj \
|
||||
|
||||
WIN_OBJS = \
|
||||
|
||||
Reference in New Issue
Block a user