summaryrefslogtreecommitdiff
path: root/indra/newview/tests/llfloaterenvsettings_stub.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-05-05 19:44:47 -0400
committerOz Linden <oz@lindenlab.com>2011-05-05 19:44:47 -0400
commita08c362d88487a390de340d75c3394c8800546be (patch)
tree1d4a25d8df0a07b85f135cb6359b4d6c8f37fe76 /indra/newview/tests/llfloaterenvsettings_stub.cpp
parentdef9f9290e661e6a35b7b255eb71b6e2767fdea0 (diff)
parent0c7f003bfc3bb9f74b0194ce18861514efe77066 (diff)
merge up latest viewer-development
Diffstat (limited to 'indra/newview/tests/llfloaterenvsettings_stub.cpp')
-rw-r--r--indra/newview/tests/llfloaterenvsettings_stub.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/indra/newview/tests/llfloaterenvsettings_stub.cpp b/indra/newview/tests/llfloaterenvsettings_stub.cpp
new file mode 100644
index 0000000000..e9e792521f
--- /dev/null
+++ b/indra/newview/tests/llfloaterenvsettings_stub.cpp
@@ -0,0 +1,20 @@
+/**
+ * @file llfloaterenvsettings_stub.cpp
+ * @brief stub class to allow unit testing
+ *
+ * $LicenseInfo:firstyear=2009&license=viewergpl$
+ * Copyright (c) 2009, Linden Research, Inc.
+ * $/LicenseInfo$
+ */
+
+class LLFloaterEnvSettings
+{
+public:
+ static bool isOpen(void);
+ static LLFloaterEnvSettings* instance(void);
+ void syncMenu(void);
+};
+
+bool LLFloaterEnvSettings::isOpen() { return true; }
+LLFloaterEnvSettings* LLFloaterEnvSettings::instance() { return NULL; }
+void LLFloaterEnvSettings::syncMenu(void) {}