/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. #ifndef LL_LLPLUGINMESSAGECLASSES_H
  29. #define LL_LLPLUGINMESSAGECLASSES_H
  30. // Version strings for each plugin message class.
  31. // Backwards-compatible changes (i.e. changes which only add new messges) should increment the minor version (i.e. "1.0" -> "1.1").
  32. // Non-backwards-compatible changes (which delete messages or change their semantics) should increment the major version (i.e. "1.1" -> "2.0").
  33. // Plugins will supply the set of message classes they understand, with version numbers, as part of their init_response message.
  34. // The contents and semantics of the base:init message must NEVER change in a non-backwards-compatible way, as a special case.
  35. #define LLPLUGIN_MESSAGE_CLASS_INTERNAL "internal"
  36. #define LLPLUGIN_MESSAGE_CLASS_INTERNAL_VERSION "1.0"
  37. #define LLPLUGIN_MESSAGE_CLASS_BASE "base"
  38. #define LLPLUGIN_MESSAGE_CLASS_BASE_VERSION "1.0"
  39. #define LLPLUGIN_MESSAGE_CLASS_MEDIA "media"
  40. #define LLPLUGIN_MESSAGE_CLASS_MEDIA_VERSION "1.0"
  41. #define LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER "media_browser"
  42. #define LLPLUGIN_MESSAGE_CLASS_MEDIA_BROWSER_VERSION "1.0"
  43. #define LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME "media_time"
  44. #define LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME_VERSION "1.0"
  45. #endif // LL_LLPLUGINMESSAGECLASSES_H