mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-18 10:01:57 -05:00
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:
parent
a0755bf0f5
commit
8bb4abc54f
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user