1 // RegistryAssociations.h
\r
3 #ifndef __REGISTRYASSOCIATIONS_H
\r
4 #define __REGISTRYASSOCIATIONS_H
\r
6 #include "Common/MyString.h"
\r
8 namespace NRegistryAssociations {
\r
14 UStringVector Plugins;
\r
17 bool ReadInternalAssociation(const wchar_t *ext, CExtInfo &extInfo);
\r
18 void ReadInternalAssociations(CObjectVector<CExtInfo> &items);
\r
19 void WriteInternalAssociations(const CObjectVector<CExtInfo> &items);
\r
22 bool CheckShellExtensionInfo(const CSysString &extension, UString &iconPath, int &iconIndex);
\r
24 // void ReadCompressionInfo(NZipSettings::NCompression::CInfo &anInfo,
\r
25 void DeleteShellExtensionInfo(const CSysString &extension);
\r
27 void AddShellExtensionInfo(const CSysString &extension,
\r
28 const UString &programTitle,
\r
29 const UString &programOpenCommand,
\r
30 const UString &iconPath, int iconIndex,
\r
31 const void *shellNewData, int shellNewDataSize);
\r
34 ///////////////////////////
\r
37 bool CheckContextMenuHandler();
\r
38 void AddContextMenuHandler();
\r
39 void DeleteContextMenuHandler();
\r
44 // bool GetProgramDirPrefix(CSysString &aFolder);
\r