diff --git a/src/plugin.c b/src/plugin.c index 8dcbac4..29f0a53 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -1,9 +1,8 @@ /* - * TeamSpeak 3 demo plugin + * TeamSpeak 3 WIFI LED plugin * * Copyright (c) TeamSpeak Systems GmbH */ - #if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) #pragma warning (disable : 4100) /* Disable Unreferenced parameter warning */ #include @@ -65,20 +64,20 @@ const char* ts3plugin_name() { /* TeamSpeak expects UTF-8 encoded characters. Following demonstrates a possibility how to convert UTF-16 wchar_t into UTF-8. */ static char* result = NULL; /* Static variable so it's allocated only once */ if(!result) { - const wchar_t* name = L"Test Plugin"; + const wchar_t* name = L"WIFILED"; if(wcharToUtf8(name, &result) == -1) { /* Convert name into UTF-8 encoded result */ - result = "Test Plugin"; /* Conversion failed, fallback here */ + result = "WIFILED"; /* Conversion failed, fallback here */ } } return result; #else - return "Test Plugin"; + return "WIFILED"; #endif } /* Plugin version */ const char* ts3plugin_version() { - return "1.2"; + return "0.1"; } /* Plugin API version. Must be the same as the clients API major version, else the plugin fails to load. */ @@ -89,13 +88,13 @@ int ts3plugin_apiVersion() { /* Plugin author */ const char* ts3plugin_author() { /* If you want to use wchar_t, see ts3plugin_name() on how to use */ - return "TeamSpeak Systems GmbH"; + return "Rogosoftware"; } /* Plugin description */ const char* ts3plugin_description() { /* If you want to use wchar_t, see ts3plugin_name() on how to use */ - return "This plugin demonstrates the TeamSpeak 3 client plugin architecture."; + return "This plugin sends HTTP Requests to an WLED Server to light LEDs."; } /* Set TeamSpeak 3 callback functions */ @@ -185,7 +184,7 @@ void ts3plugin_registerPluginID(const char* id) { /* Plugin command keyword. Return NULL or "" if not used. */ const char* ts3plugin_commandKeyword() { - return "test"; + return "LED"; } static void print_and_free_bookmarks_list(struct PluginBookmarkList* list) diff --git a/src/test_plugin.vcxproj b/src/test_plugin.vcxproj index f662893..0d80528 100644 --- a/src/test_plugin.vcxproj +++ b/src/test_plugin.vcxproj @@ -138,6 +138,7 @@ Level3 ProgramDatabase ..\include;%(AdditionalIncludeDirectories) + stdcpp14 Windows