mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 01:15:00 -06:00
9.04 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
8874e4fbc9
commit
829409452d
@@ -1,12 +1,10 @@
|
||||
// NetFolder.h
|
||||
|
||||
#ifndef __NETFOLDER_H
|
||||
#define __NETFOLDER_H
|
||||
#ifndef __NET_FOLDER_H
|
||||
#define __NET_FOLDER_H
|
||||
|
||||
#include "Common/MyString.h"
|
||||
#include "Common/Buffer.h"
|
||||
#include "Common/MyCom.h"
|
||||
#include "Windows/PropVariant.h"
|
||||
|
||||
#include "Windows/Net.h"
|
||||
|
||||
#include "IFolder.h"
|
||||
@@ -21,16 +19,6 @@ class CNetFolder:
|
||||
public IFolderGetSystemIconIndex,
|
||||
public CMyUnknownImp
|
||||
{
|
||||
public:
|
||||
MY_UNKNOWN_IMP1(
|
||||
IFolderGetSystemIconIndex
|
||||
)
|
||||
|
||||
INTERFACE_FolderFolder(;)
|
||||
|
||||
STDMETHOD(GetSystemIconIndex)(UInt32 index, INT32 *iconIndex);
|
||||
|
||||
private:
|
||||
NWindows::NNet::CResourceW _netResource;
|
||||
NWindows::NNet::CResourceW *_netResourcePointer;
|
||||
|
||||
@@ -38,12 +26,15 @@ private:
|
||||
|
||||
CMyComPtr<IFolderFolder> _parentFolder;
|
||||
UString _path;
|
||||
|
||||
public:
|
||||
MY_UNKNOWN_IMP1(IFolderGetSystemIconIndex)
|
||||
INTERFACE_FolderFolder(;)
|
||||
STDMETHOD(GetSystemIconIndex)(UInt32 index, Int32 *iconIndex);
|
||||
|
||||
CNetFolder(): _netResourcePointer(0) {}
|
||||
void Init(const UString &path);
|
||||
void Init(const NWindows::NNet::CResourceW *netResource,
|
||||
IFolderFolder *parentFolder, const UString &path);
|
||||
CNetFolder(): _netResourcePointer(0) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user