4
Fork 0
AutoPatch/SVXLink/echolink/BrandMeisterBridge.h
Artem Prilutskiy ab7b86dd44 Fixes
2019-02-28 21:52:11 +03:00

37 lines
No EOL
731 B
C++

// Copyright 2015 by Artem Prilutskiy
#ifndef BRANDMEISTERBRIDGE_H
#define BRANDMEISTERBRIDGE_H
#include <iconv.h>
#include <pthread.h>
#include "PatchCord.h"
class BrandMeisterBridge
{
public:
BrandMeisterBridge();
~BrandMeisterBridge();
void setEncodingConfiguration(const char* configuration);
void setDefaultConfiguration(const char* configuration);
void setProxyConfiguration(const char* configuration);
const char* getTalker();
void setTalker(const char* call, const char* name);
void handleChatMessage(const char* text);
private:
PatchCord* proxy;
iconv_t handle;
char* talker;
int unknown;
void setTalkerData(const char* call, const char* name);
};
#endif