PageRenderTime 324ms CodeModel.GetById 160ms app.highlight 2ms RepoModel.GetById 159ms app.codeStats 0ms

/indra/llplugin/llpluginmessageclasses.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 53 lines | 13 code | 8 blank | 32 comment | 0 complexity | 15a222dd6753b4b2940d95bfc83c9379 MD5 | raw file
 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=viewerlgpl$
 7 * Second Life Viewer Source Code
 8 * Copyright (C) 2010, Linden Research, Inc.
 9 * 
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation;
13 * version 2.1 of the License only.
14 * 
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 * Lesser General Public License for more details.
19 * 
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
23 * 
24 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
25 * $/LicenseInfo$
26 * @endcond
27 */
28
29#ifndef LL_LLPLUGINMESSAGECLASSES_H
30#define LL_LLPLUGINMESSAGECLASSES_H
31
32// Version strings for each plugin message class.  
33// Backwards-compatible changes (i.e. changes which only add new messges) should increment the minor version (i.e. "1.0" -> "1.1").
34// Non-backwards-compatible changes (which delete messages or change their semantics) should increment the major version (i.e. "1.1" -> "2.0").
35// Plugins will supply the set of message classes they understand, with version numbers, as part of their init_response message.
36// The contents and semantics of the base:init message must NEVER change in a non-backwards-compatible way, as a special case.
37
38#define LLPLUGIN_MESSAGE_CLASS_INTERNAL "internal"
39#define LLPLUGIN_MESSAGE_CLASS_INTERNAL_VERSION "1.0"
40
41#define LLPLUGIN_MESSAGE_CLASS_BASE "base"
42#define LLPLUGIN_MESSAGE_CLASS_BASE_VERSION "1.0"
43
44#define LLPLUGIN_MESSAGE_CLASS_MEDIA "media"
45#define LLPLUGIN_MESSAGE_CLASS_MEDIA_VERSION "1.0"
46
47#define LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER "media_browser"
48#define LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER_VERSION "1.0"
49
50#define LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME "media_time"
51#define LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME_VERSION "1.0"
52
53#endif // LL_LLPLUGINMESSAGECLASSES_H