PageRenderTime 42ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llcommon/llavatarconstants.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 55 lines | 16 code | 8 blank | 31 comment | 0 complexity | a17e1c6b8435b4d16a5f041fb2e82df3 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llavatarconstants.h
  3. * @brief some useful short term constants for Indra
  4. *
  5. * $LicenseInfo:firstyear=2001&license=viewerlgpl$
  6. * Second Life Viewer Source Code
  7. * Copyright (C) 2010, Linden Research, Inc.
  8. *
  9. * This library is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Lesser General Public
  11. * License as published by the Free Software Foundation;
  12. * version 2.1 of the License only.
  13. *
  14. * This library is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public
  20. * License along with this library; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. *
  23. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  24. * $/LicenseInfo$
  25. */
  26. #ifndef LL_AVATAR_CONSTANTS_H
  27. #define LL_AVATAR_CONSTANTS_H
  28. // If this string is passed to dataserver in AvatarPropertiesUpdate
  29. // then no change is made to user.profile_web
  30. const char* const BLACKLIST_PROFILE_WEB_STR = "featureWebProfilesDisabled";
  31. // If profile web pages are feature blacklisted then this URL is
  32. // shown in the profile instead of the user's set URL
  33. const char* const BLACKLIST_PROFILE_WEB_URL = "http://secondlife.com/app/webdisabled";
  34. // Maximum number of avatar picks
  35. const S32 MAX_AVATAR_PICKS = 10;
  36. // For Flags in AvatarPropertiesReply
  37. const U32 AVATAR_ALLOW_PUBLISH = 0x1 << 0; // whether profile is externally visible or not
  38. const U32 AVATAR_MATURE_PUBLISH = 0x1 << 1; // profile is "mature"
  39. const U32 AVATAR_IDENTIFIED = 0x1 << 2; // whether avatar has provided payment info
  40. const U32 AVATAR_TRANSACTED = 0x1 << 3; // whether avatar has actively used payment info
  41. const U32 AVATAR_ONLINE = 0x1 << 4; // the online status of this avatar, if known.
  42. const U32 AVATAR_AGEVERIFIED = 0x1 << 5; // whether avatar has been age-verified
  43. char const* const VISIBILITY_DEFAULT = "default";
  44. char const* const VISIBILITY_HIDDEN = "hidden";
  45. char const* const VISIBILITY_VISIBLE = "visible";
  46. char const* const VISIBILITY_INVISIBLE = "invisible";
  47. #endif