cleanup and made it working!
This commit is contained in:
14
src/plugin.h
14
src/plugin.h
@@ -7,16 +7,30 @@
|
||||
#ifndef PLUGIN_H
|
||||
#define PLUGIN_H
|
||||
|
||||
#include <QUdpSocket>
|
||||
|
||||
#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32)
|
||||
#include <Windows.h>
|
||||
#define PLUGINS_EXPORTDLL __declspec(dllexport)
|
||||
#else
|
||||
#define PLUGINS_EXPORTDLL __attribute__ ((visibility("default")))
|
||||
#endif
|
||||
|
||||
#include "ledhandler.h"
|
||||
#include "ts3_functions.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
QUdpSocket *mUdpSock;
|
||||
LEDHandler *mLedHandler;
|
||||
|
||||
/* Required functions */
|
||||
PLUGINS_EXPORTDLL const char* ts3plugin_name();
|
||||
PLUGINS_EXPORTDLL const char* ts3plugin_version();
|
||||
|
||||
Reference in New Issue
Block a user