This commit is contained in:
Igor Pavlov
2015-10-05 00:00:00 +00:00
committed by Kornel Lesiński
parent f6444c3256
commit 6543c28020
113 changed files with 3101 additions and 382 deletions

View File

@@ -13,7 +13,7 @@
using namespace NWindows;
using namespace NNet;
static const PROPID kProps[] =
static const Byte kProps[] =
{
kpidName,
kpidLocalName,
@@ -170,7 +170,7 @@ STDMETHODIMP CNetFolder::GetProperty(UInt32 itemIndex, PROPID propID, PROPVARIAN
{
NCOM::CPropVariant prop;
const CResourceEx &item = _items[itemIndex];
switch(propID)
switch (propID)
{
case kpidIsDir: prop = true; break;
case kpidName:
@@ -243,7 +243,7 @@ IMP_IFolderFolder_Props(CNetFolder)
STDMETHODIMP CNetFolder::GetFolderProperty(PROPID propID, PROPVARIANT *value)
{
NWindows::NCOM::CPropVariant prop;
switch(propID)
switch (propID)
{
case kpidType: prop = "NetFolder"; break;
case kpidPath: prop = _path; break;