aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llplugin/llpluginmessageclasses.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llplugin/llpluginmessageclasses.h')
-rwxr-xr-xlinden/indra/llplugin/llpluginmessageclasses.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/linden/indra/llplugin/llpluginmessageclasses.h b/linden/indra/llplugin/llpluginmessageclasses.h
new file mode 100755
index 0000000..8812a16
--- /dev/null
+++ b/linden/indra/llplugin/llpluginmessageclasses.h
@@ -0,0 +1,60 @@
1/**
2 * @file llpluginmessageclasses.h
3 * @brief This file defines the versions of existing message classes for LLPluginMessage.
4 *
5 * @cond
6 * $LicenseInfo:firstyear=2008&license=viewergpl$
7 *
8 * Copyright (c) 2008-2010, Linden Research, Inc.
9 *
10 * Second Life Viewer Source Code
11 * The source code in this file ("Source Code") is provided by Linden Lab
12 * to you under the terms of the GNU General Public License, version 2.0
13 * ("GPL"), unless you have obtained a separate licensing agreement
14 * ("Other License"), formally executed by you and Linden Lab. Terms of
15 * the GPL can be found in doc/GPL-license.txt in this distribution, or
16 * online at http://secondlife.com/developers/opensource/gplv2
17 *
18 * There are special exceptions to the terms and conditions of the GPL as
19 * it is applied to this Source Code. View the full text of the exception
20 * in the file doc/FLOSS-exception.txt in this software distribution, or
21 * online at
22 * http://secondlife.com/developers/opensource/flossexception
23 *
24 * By copying, modifying or distributing this software, you acknowledge
25 * that you have read and understood your obligations described above,
26 * and agree to abide by those obligations.
27 *
28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
32 *
33 * @endcond
34 */
35
36#ifndef LL_LLPLUGINMESSAGECLASSES_H
37#define LL_LLPLUGINMESSAGECLASSES_H
38
39// Version strings for each plugin message class.
40// Backwards-compatible changes (i.e. changes which only add new messges) should increment the minor version (i.e. "1.0" -> "1.1").
41// Non-backwards-compatible changes (which delete messages or change their semantics) should increment the major version (i.e. "1.1" -> "2.0").
42// Plugins will supply the set of message classes they understand, with version numbers, as part of their init_response message.
43// The contents and semantics of the base:init message must NEVER change in a non-backwards-compatible way, as a special case.
44
45#define LLPLUGIN_MESSAGE_CLASS_INTERNAL "internal"
46#define LLPLUGIN_MESSAGE_CLASS_INTERNAL_VERSION "1.0"
47
48#define LLPLUGIN_MESSAGE_CLASS_BASE "base"
49#define LLPLUGIN_MESSAGE_CLASS_BASE_VERSION "1.0"
50
51#define LLPLUGIN_MESSAGE_CLASS_MEDIA "media"
52#define LLPLUGIN_MESSAGE_CLASS_MEDIA_VERSION "1.0"
53
54#define LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER "media_browser"
55#define LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER_VERSION "1.0"
56
57#define LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME "media_time"
58#define LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME_VERSION "1.0"
59
60#endif // LL_LLPLUGINMESSAGECLASSES_H