svxlink-17.12.2
This commit is contained in:
parent
444d3ba29d
commit
d2d6e3d273
3 changed files with 213 additions and 39 deletions
|
@ -62,6 +62,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
#include "version/SVXLINK.h"
|
||||
#include "BrandMeisterBridge.h"
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Forward declarations
|
||||
|
@ -74,6 +75,7 @@ namespace Async
|
|||
class AudioSplitter;
|
||||
class AudioValve;
|
||||
class AudioSelector;
|
||||
class Pty;
|
||||
};
|
||||
namespace EchoLink
|
||||
{
|
||||
|
@ -152,9 +154,7 @@ class ModuleEchoLink : public Module
|
|||
|
||||
|
||||
private:
|
||||
|
||||
BrandMeisterBridge bridge;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
STATE_NORMAL,
|
||||
|
@ -212,6 +212,8 @@ class ModuleEchoLink : public Module
|
|||
int autocon_time;
|
||||
Async::Timer *autocon_timer;
|
||||
EchoLink::Proxy *proxy;
|
||||
Async::Pty *pty;
|
||||
std::string command_buf;
|
||||
|
||||
void moduleCleanup(void);
|
||||
void activateInit(void);
|
||||
|
@ -222,15 +224,19 @@ class ModuleEchoLink : public Module
|
|||
void squelchOpen(bool is_open);
|
||||
int audioFromRx(float *samples, int count);
|
||||
void allMsgsWritten(void);
|
||||
void handlePtyCommand(const std::string &full_command);
|
||||
void onCommandPtyInput(const void *buf, size_t count);
|
||||
|
||||
void onStatusChanged(EchoLink::StationData::Status status);
|
||||
void onStationListUpdated(void);
|
||||
void onError(const std::string& msg);
|
||||
void clientListChanged(void);
|
||||
void onIncomingConnection(const Async::IpAddress& ip,
|
||||
const std::string& callsign, const std::string& name,
|
||||
const std::string& priv);
|
||||
void onStateChange(QsoImpl *qso, EchoLink::Qso::State qso_state);
|
||||
void onChatMsgReceived(QsoImpl *qso, const std::string& msg);
|
||||
void onInfoMsgReceived(QsoImpl *qso, const std::string& msg);
|
||||
void onIsReceiving(bool is_receiving, QsoImpl *qso);
|
||||
void destroyQsoObject(QsoImpl *qso);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue