summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ftn
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-29 16:04:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-29 16:04:58 +0200
commit0522ef2ec6de1bc35721613ded92c832930e9a9e (patch)
treed4b7ca32558895da812733af8d48f94ab34bbd95 /ftnoir_protocol_ftn
parent6fdcf9004e0aafb796592ab5120f1bd90190e2c3 (diff)
Correct prototypes
Diffstat (limited to 'ftnoir_protocol_ftn')
-rw-r--r--ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp4
-rw-r--r--ftnoir_protocol_ftn/ftnoir_protocol_ftn_dialog.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp
index 424dc5aa..50806ca7 100644
--- a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp
+++ b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp
@@ -123,7 +123,7 @@ bool FTNoIR_Protocol::checkServerInstallationOK()
// _GetProtocol@0 - Common name decoration for __stdcall functions in C language.
//#pragma comment(linker, "/export:GetProtocol=_GetProtocol@0")
-extern "C" FTNOIR_PROTOCOL_BASE_EXPORT void* CALLING_CONVENTION GetConstructor()
+extern "C" FTNOIR_PROTOCOL_BASE_EXPORT IProtocol* CALLING_CONVENTION GetConstructor()
{
- return (IProtocol*) new FTNoIR_Protocol;
+ return new FTNoIR_Protocol;
}
diff --git a/ftnoir_protocol_ftn/ftnoir_protocol_ftn_dialog.cpp b/ftnoir_protocol_ftn/ftnoir_protocol_ftn_dialog.cpp
index 24ccc8b9..7bc116ef 100644
--- a/ftnoir_protocol_ftn/ftnoir_protocol_ftn_dialog.cpp
+++ b/ftnoir_protocol_ftn/ftnoir_protocol_ftn_dialog.cpp
@@ -187,7 +187,7 @@ void FTNControls::save() {
// _GetProtocolDialog@0 - Common name decoration for __stdcall functions in C language.
//#pragma comment(linker, "/export:GetProtocolDialog=_GetProtocolDialog@0")
-extern "C" FTNOIR_PROTOCOL_BASE_EXPORT void* CALLING_CONVENTION GetDialog( )
+extern "C" FTNOIR_PROTOCOL_BASE_EXPORT IProtocolDialog* CALLING_CONVENTION GetDialog( )
{
- return (IProtocolDialog*) new FTNControls;
+ return new FTNControls;
}