PageRenderTime 14ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms 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
 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
27#ifndef LL_AVATAR_CONSTANTS_H
28#define LL_AVATAR_CONSTANTS_H
29
30// If this string is passed to dataserver in AvatarPropertiesUpdate 
31// then no change is made to user.profile_web
32const char* const BLACKLIST_PROFILE_WEB_STR = "featureWebProfilesDisabled";
33
34// If profile web pages are feature blacklisted then this URL is 
35// shown in the profile instead of the user's set URL
36const char* const BLACKLIST_PROFILE_WEB_URL = "http://secondlife.com/app/webdisabled";
37
38// Maximum number of avatar picks
39const S32 MAX_AVATAR_PICKS = 10;
40
41// For Flags in AvatarPropertiesReply
42const U32 AVATAR_ALLOW_PUBLISH			= 0x1 << 0;	// whether profile is externally visible or not
43const U32 AVATAR_MATURE_PUBLISH			= 0x1 << 1;	// profile is "mature"
44const U32 AVATAR_IDENTIFIED				= 0x1 << 2;	// whether avatar has provided payment info
45const U32 AVATAR_TRANSACTED				= 0x1 << 3;	// whether avatar has actively used payment info
46const U32 AVATAR_ONLINE					= 0x1 << 4; // the online status of this avatar, if known.
47const U32 AVATAR_AGEVERIFIED			= 0x1 << 5;	// whether avatar has been age-verified
48
49char const* const VISIBILITY_DEFAULT = "default";
50char const* const VISIBILITY_HIDDEN = "hidden";
51char const* const VISIBILITY_VISIBLE = "visible";
52char const* const VISIBILITY_INVISIBLE = "invisible";
53
54#endif
55