summaryrefslogtreecommitdiff
path: root/indra/media_plugins
diff options
context:
space:
mode:
Diffstat (limited to 'indra/media_plugins')
-rw-r--r--indra/media_plugins/base/media_plugin_base.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/indra/media_plugins/base/media_plugin_base.h b/indra/media_plugins/base/media_plugin_base.h
index 8f8e89f2e3..ed4dc0cfa9 100644
--- a/indra/media_plugins/base/media_plugin_base.h
+++ b/indra/media_plugins/base/media_plugin_base.h
@@ -114,15 +114,17 @@ protected:
};
/** The plugin <b>must</b> define this function to create its instance.
- * It should look something like this: \n
-{ \n
- MediaPluginFoo *self = new MediaPluginFoo(host_send_func, host_user_data); \n
- *plugin_send_func = MediaPluginFoo::staticReceiveMessage; \n
- *plugin_user_data = (void*)self; \n
- \n
- return 0; \n
-} \n
-*/
+ * It should look something like this:
+ * @code
+ * {
+ * MediaPluginFoo *self = new MediaPluginFoo(host_send_func, host_user_data);
+ * *plugin_send_func = MediaPluginFoo::staticReceiveMessage;
+ * *plugin_user_data = (void*)self;
+ *
+ * return 0;
+ * }
+ * @endcode
+ */
int init_media_plugin(
LLPluginInstance::sendMessageFunction host_send_func,
void *host_user_data,