Skip to content
Snippets Groups Projects
Commit 66646c27 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Make Alchemy SLPlugin explicitly incompatible with other viewers

parent c766ce02
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
/**
* TODO:DOC describe how it's used
*/
const char *LLPluginInstance::PLUGIN_INIT_FUNCTION_NAME = "LLPluginInitEntryPoint";
const char *LLPluginInstance::PLUGIN_INIT_FUNCTION_NAME = "ALPluginInitEntryPoint";
/**
* Constructor.
......
......@@ -385,7 +385,7 @@ void LLPluginProcessChild::receiveMessageRaw(const std::string &message)
passMessage = false;
std::string message_name = parsed.getName();
if (message_name == "load_plugin")
if (message_name == "load_plugin_alchemy")
{
mPluginFile = parsed.getValue("file");
mPluginDir = parsed.getValue("dir");
......
......@@ -627,7 +627,7 @@ void LLPluginProcessParent::idle(void)
// Send the message to load the plugin
{
LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_INTERNAL, "load_plugin");
LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_INTERNAL, "load_plugin_alchemy");
message.setValue("file", mPluginFile);
message.setValue("dir", mPluginDir);
sendMessage(message);
......
......@@ -32,7 +32,7 @@
#include "media_plugin_base.h"
// TODO: Make sure that the only symbol exported from this library is LLPluginInitEntryPoint
// TODO: Make sure that the only symbol exported from this library is ALPluginInitEntryPoint
////////////////////////////////////////////////////////////////////////////////
/// Media plugin constructor.
///
......@@ -176,7 +176,7 @@ void MediaPluginBase::sendStatus()
extern "C"
{
LLSYMEXPORT int LLPluginInitEntryPoint(LLPluginInstance::sendMessageFunction host_send_func, void *host_user_data, LLPluginInstance::sendMessageFunction *plugin_send_func, void **plugin_user_data);
LLSYMEXPORT int ALPluginInitEntryPoint(LLPluginInstance::sendMessageFunction host_send_func, void *host_user_data, LLPluginInstance::sendMessageFunction *plugin_send_func, void **plugin_user_data);
}
/**
......@@ -191,7 +191,7 @@ extern "C"
*
*/
LLSYMEXPORT int
LLPluginInitEntryPoint(LLPluginInstance::sendMessageFunction host_send_func, void *host_user_data, LLPluginInstance::sendMessageFunction *plugin_send_func, void **plugin_user_data)
ALPluginInitEntryPoint(LLPluginInstance::sendMessageFunction host_send_func, void *host_user_data, LLPluginInstance::sendMessageFunction *plugin_send_func, void **plugin_user_data)
{
return init_media_plugin(host_send_func, host_user_data, plugin_send_func, plugin_user_data);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment