PageRenderTime 398ms CodeModel.GetById 141ms app.highlight 9ms RepoModel.GetById 243ms app.codeStats 0ms

/indra/newview/llviewercontrol.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 61 lines | 18 code | 10 blank | 33 comment | 0 complexity | 1605469d7c9befdc8014f6e3749a5d02 MD5 | raw file
 1/** 
 2 * @file llviewercontrol.h
 3 * @brief references to viewer-specific control files
 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_LLVIEWERCONTROL_H
28#define LL_LLVIEWERCONTROL_H
29
30#include <map>
31#include "llcontrol.h"
32
33// Enabled this definition to compile a 'hacked' viewer that
34// allows a hacked godmode to be toggled on and off.
35#define TOGGLE_HACKED_GODLIKE_VIEWER 
36#ifdef TOGGLE_HACKED_GODLIKE_VIEWER
37extern BOOL gHackGodmode;
38#endif
39
40bool toggle_show_navigation_panel(const LLSD& newvalue);
41bool toggle_show_favorites_panel(const LLSD& newvalue);
42
43// These functions found in llcontroldef.cpp *TODO: clean this up!
44//setting variables are declared in this function
45void settings_setup_listeners();
46
47// for the graphics settings
48void create_graphics_group(LLControlGroup& group);
49
50// saved at end of session
51extern LLControlGroup gSavedSettings;
52extern LLControlGroup gSavedPerAccountSettings;
53extern LLControlGroup gWarningSettings;
54
55// Saved at end of session
56extern LLControlGroup gCrashSettings;
57
58// Set after settings loaded
59extern std::string gLastRunVersion;
60
61#endif // LL_LLVIEWERCONTROL_H