diff --git a/devsetup.h b/devsetup.h index ee5494da0..f72d5757f 100644 --- a/devsetup.h +++ b/devsetup.h @@ -103,10 +103,10 @@ extern int ptt(int nport, int ntx, int* iptt, int* nopen); #ifdef WIN32 extern "C" { - const bool HRDInterfaceConnect(const wchar_t *host, const ushort); + bool HRDInterfaceConnect(const wchar_t *host, const ushort); void HRDInterfaceDisconnect(); - const bool HRDInterfaceIsConnected(); - const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); + bool HRDInterfaceIsConnected(); + wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); void HRDInterfaceFreeString(const wchar_t *lstring); } #endif diff --git a/mainwindow.cpp b/mainwindow.cpp index a9f9787dc..34a49286d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//-------------------------------------------------------------- MainWindow +//------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h" diff --git a/rigclass.h b/rigclass.h index b882bcf29..a11d4b85e 100644 --- a/rigclass.h +++ b/rigclass.h @@ -81,10 +81,10 @@ public: #ifdef WIN32 extern "C" { - const bool HRDInterfaceConnect(const wchar_t *host, const ushort); + bool HRDInterfaceConnect(const wchar_t *host, const ushort); void HRDInterfaceDisconnect(); - const bool HRDInterfaceIsConnected(); - const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); + bool HRDInterfaceIsConnected(); + wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); void HRDInterfaceFreeString(const wchar_t *lstring); } #endif