llpluginmessageclasses.h 2.7 KB

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