PageRenderTime 31ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llmessage/llsdappservices.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 58 lines | 8 code | 4 blank | 46 comment | 0 complexity | 8508f854c4a2b11f443ae272b3bf4703 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llsdappservices.h
  3. * @author Phoenix
  4. * @date 2006-09-12
  5. * @brief Header file to declare the /app common web services.
  6. *
  7. * $LicenseInfo:firstyear=2006&license=viewerlgpl$
  8. * Second Life Viewer Source Code
  9. * Copyright (C) 2010, Linden Research, Inc.
  10. *
  11. * This library is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU Lesser General Public
  13. * License as published by the Free Software Foundation;
  14. * version 2.1 of the License only.
  15. *
  16. * This library is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. * Lesser General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU Lesser General Public
  22. * License along with this library; if not, write to the Free Software
  23. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  24. *
  25. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  26. * $/LicenseInfo$
  27. */
  28. #ifndef LL_LLSDAPPSERVICES_H
  29. #define LL_LLSDAPPSERVICES_H
  30. /**
  31. * @class LLSDAppServices
  32. * @brief This class forces a link to llsdappservices if the static
  33. * method is called which declares the /app web services.
  34. */
  35. class LLSDAppServices
  36. {
  37. public:
  38. /**
  39. * @brief Call this method to declare the /app common web services.
  40. *
  41. * This will register:
  42. * /app/config
  43. * /app/config/runtime-override
  44. * /app/config/runtime-override/<option-name>
  45. * /app/config/command-line
  46. * /app/config/specific
  47. * /app/config/general
  48. * /app/config/default
  49. * /app/config/live
  50. * /app/config/live/<option-name>
  51. */
  52. static void useServices();
  53. };
  54. #endif // LL_LLSDAPPSERVICES_H