4
Fork 0
AutoPatch/SVXLink/echolink/BrandMeisterBridge.h
Artem Prilutskiy a13146113f Fixes
2019-02-28 22:06:48 +03:00

36 lines
No EOL
710 B
C++

// Copyright 2015 by Artem Prilutskiy
#ifndef BRANDMEISTERBRIDGE_H
#define BRANDMEISTERBRIDGE_H
#include <iconv.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