Several more #ifdef's.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3293 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-05-22 01:02:07 +00:00
parent a0755bf0f5
commit 8bb4abc54f
3 changed files with 5 additions and 1 deletions

View File

@ -101,6 +101,7 @@ private:
extern int ptt(int nport, int ntx, int* iptt, int* nopen); extern int ptt(int nport, int ntx, int* iptt, int* nopen);
#ifdef WIN32
extern "C" { extern "C" {
const bool HRDInterfaceConnect(const wchar_t *host, const ushort); const bool HRDInterfaceConnect(const wchar_t *host, const ushort);
void HRDInterfaceDisconnect(); void HRDInterfaceDisconnect();
@ -108,5 +109,6 @@ extern "C" {
const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg);
void HRDInterfaceFreeString(const wchar_t *lstring); void HRDInterfaceFreeString(const wchar_t *lstring);
} }
#endif
#endif // DEVSETUP_H #endif // DEVSETUP_H

View File

@ -1,4 +1,4 @@
//---------------------------------------------------------------- MainWindow //--------------------------------------------------------------- MainWindow
#include "mainwindow.h" #include "mainwindow.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "devsetup.h" #include "devsetup.h"

View File

@ -79,6 +79,7 @@ public:
} }
}; };
#ifdef WIN32
extern "C" { extern "C" {
const bool HRDInterfaceConnect(const wchar_t *host, const ushort); const bool HRDInterfaceConnect(const wchar_t *host, const ushort);
void HRDInterfaceDisconnect(); void HRDInterfaceDisconnect();
@ -86,5 +87,6 @@ extern "C" {
const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg);
void HRDInterfaceFreeString(const wchar_t *lstring); void HRDInterfaceFreeString(const wchar_t *lstring);
} }
#endif
#endif // _RIGCLASS_H #endif // _RIGCLASS_H