Fixed spelling
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "SiaDokenDrive.h"
|
||||
#include "SiaDokanDrive.h"
|
||||
#include <dokan\dokan.h>
|
||||
|
||||
using namespace Sia::Api;
|
||||
@@ -83,13 +83,13 @@ std::mutex DokanImpl::_dokanMutex;
|
||||
CSiaApi* DokanImpl::_siaApi = nullptr;
|
||||
DOKAN_OPERATIONS DokanImpl::_dokanOps = { 0 };
|
||||
|
||||
CSiaDokenDrive::CSiaDokenDrive(CSiaApi& siaApi) :
|
||||
CSiaDokanDrive::CSiaDokanDrive(CSiaApi& siaApi) :
|
||||
_siaApi(siaApi)
|
||||
{
|
||||
std::lock_guard<std::mutex> l(DokanImpl::GetMutex());
|
||||
if (DokanImpl::IsInitialized())
|
||||
{
|
||||
throw SiaDokenDriveException("Sia drive has already been activated");
|
||||
throw SiaDokanDriveException("Sia drive has already been activated");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -97,17 +97,17 @@ CSiaDokenDrive::CSiaDokenDrive(CSiaApi& siaApi) :
|
||||
}
|
||||
}
|
||||
|
||||
CSiaDokenDrive::~CSiaDokenDrive()
|
||||
CSiaDokanDrive::~CSiaDokanDrive()
|
||||
{
|
||||
std::lock_guard<std::mutex> l(DokanImpl::GetMutex());
|
||||
Unmount();
|
||||
DokanImpl::Shutdown();
|
||||
}
|
||||
|
||||
void CSiaDokenDrive::Mount(const wchar_t& driveLetter)
|
||||
void CSiaDokanDrive::Mount(const wchar_t& driveLetter)
|
||||
{
|
||||
}
|
||||
|
||||
void CSiaDokenDrive::Unmount()
|
||||
void CSiaDokanDrive::Unmount()
|
||||
{
|
||||
}
|
@@ -6,25 +6,25 @@ NS_BEGIN(Sia)
|
||||
NS_BEGIN(Api)
|
||||
NS_BEGIN(Dokan)
|
||||
|
||||
class SiaDokenDriveException :
|
||||
class SiaDokanDriveException :
|
||||
std::exception
|
||||
{
|
||||
public:
|
||||
SiaDokenDriveException(char* message) :
|
||||
SiaDokanDriveException(char* message) :
|
||||
std::exception(message)
|
||||
{
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
class AFX_EXT_CLASS CSiaDokenDrive
|
||||
class AFX_EXT_CLASS CSiaDokanDrive
|
||||
{
|
||||
public:
|
||||
// throws SiaDokenDriveException
|
||||
CSiaDokenDrive(CSiaApi& siaApi);
|
||||
CSiaDokanDrive(CSiaApi& siaApi);
|
||||
|
||||
public:
|
||||
~CSiaDokenDrive();
|
||||
~CSiaDokanDrive();
|
||||
|
||||
private:
|
||||
CSiaApi& _siaApi;
|
@@ -207,7 +207,7 @@
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="SiaDokenDrive.cpp" />
|
||||
<ClCompile Include="SiaDokanDrive.cpp" />
|
||||
<ClCompile Include="SiaDrive.Dokan.Api.cpp" />
|
||||
<ClCompile Include="stdafx.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
@@ -222,7 +222,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Resource.h" />
|
||||
<ClInclude Include="SiaDokenDrive.h" />
|
||||
<ClInclude Include="SiaDokanDrive.h" />
|
||||
<ClInclude Include="stdafx.h" />
|
||||
<ClInclude Include="targetver.h" />
|
||||
</ItemGroup>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<ClCompile Include="stdafx.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="SiaDokenDrive.cpp">
|
||||
<ClCompile Include="SiaDokanDrive.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
@@ -49,7 +49,7 @@
|
||||
<ClInclude Include="Resource.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="SiaDokenDrive.h">
|
||||
<ClInclude Include="SiaDokanDrive.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
|
Reference in New Issue
Block a user