-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy pathNativeInterface.cpp
More file actions
58 lines (47 loc) · 1.15 KB
/
NativeInterface.cpp
File metadata and controls
58 lines (47 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#include "NativeInterface.h"
bool NativeInterface::AddError(unsigned short wcode, const WCHAR_T* source, const WCHAR_T* descr, long scode)
{
if (onError != nullptr) onError(wcode, source, descr, scode);
return true;
}
bool NativeInterface::Read(WCHAR_T* wszPropName, tVariant* pVal, long* pErrCode, WCHAR_T** errDescriptor)
{
return true;
}
bool NativeInterface::Write(WCHAR_T* wszPropName, tVariant* pVar)
{
return true;
}
bool NativeInterface::RegisterProfileAs(WCHAR_T* wszProfileName)
{
return true;
}
bool NativeInterface::SetEventBufferDepth(long lDepth)
{
lEventBufferDepth = lDepth;
return true;
}
long NativeInterface::GetEventBufferDepth()
{
return lEventBufferDepth;
}
bool NativeInterface::ExternalEvent(WCHAR_T* wszSource, WCHAR_T* wszMessage, WCHAR_T* wszData)
{
if (onEvent != nullptr) onEvent(wszSource, wszMessage, wszData);
return true;
}
void NativeInterface::CleanEventBuffer()
{
}
bool NativeInterface::SetStatusLine(WCHAR_T* wszStatusLine)
{
if (onStatus != nullptr) onStatus(wszStatusLine);
return true;
}
void NativeInterface::ResetStatusLine()
{
}
IInterface* NativeInterface::GetInterface(Interfaces iface)
{
return nullptr;
}