Fixed spelling
This commit is contained in:
38
SiaDrive.Dokan.Api/SiaDokanDrive.h
Normal file
38
SiaDrive.Dokan.Api/SiaDokanDrive.h
Normal file
@@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
#include <SiaApi.h>
|
||||
#include <mutex>
|
||||
|
||||
NS_BEGIN(Sia)
|
||||
NS_BEGIN(Api)
|
||||
NS_BEGIN(Dokan)
|
||||
|
||||
class SiaDokanDriveException :
|
||||
std::exception
|
||||
{
|
||||
public:
|
||||
SiaDokanDriveException(char* message) :
|
||||
std::exception(message)
|
||||
{
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
class AFX_EXT_CLASS CSiaDokanDrive
|
||||
{
|
||||
public:
|
||||
// throws SiaDokenDriveException
|
||||
CSiaDokanDrive(CSiaApi& siaApi);
|
||||
|
||||
public:
|
||||
~CSiaDokanDrive();
|
||||
|
||||
private:
|
||||
CSiaApi& _siaApi;
|
||||
|
||||
public:
|
||||
void Mount(const wchar_t& driveLetter);
|
||||
|
||||
void Unmount( );
|
||||
};
|
||||
|
||||
NS_END(3)
|
Reference in New Issue
Block a user