summaryrefslogtreecommitdiff
path: root/indra/newview/tests/llsky_stub.cpp
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2011-07-08 18:25:07 -0700
committerDon Kjer <don@lindenlab.com>2011-07-08 18:25:07 -0700
commitb9d6b5ef9a9797709397be983ec74c30cd1e0ce2 (patch)
tree9886deac5d65ee1873e8c75ed2af62943c872f63 /indra/newview/tests/llsky_stub.cpp
parent615cc856a8abf44f62c58962f8b53178f9708ee3 (diff)
parentccb3ad90001c2b19cbd690d67317651ee0182f42 (diff)
Merge viewer-development -> mesh-development
Diffstat (limited to 'indra/newview/tests/llsky_stub.cpp')
-rw-r--r--indra/newview/tests/llsky_stub.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/indra/newview/tests/llsky_stub.cpp b/indra/newview/tests/llsky_stub.cpp
new file mode 100644
index 0000000000..35f4944a95
--- /dev/null
+++ b/indra/newview/tests/llsky_stub.cpp
@@ -0,0 +1,20 @@
+/**
+ * @file llsky_stub.cpp
+ * @brief stub class to allow unit testing
+ *
+ * $LicenseInfo:firstyear=2009&license=viewergpl$
+ * Copyright (c) 2009, Linden Research, Inc.
+ * $/LicenseInfo$
+ */
+
+class LLSky
+{
+public:
+ void setOverrideSun(BOOL override);
+ void setSunDirection(const LLVector3 &sun_direction, const LLVector3 &sun_ang_velocity);
+};
+
+void LLSky::setOverrideSun(BOOL override) {}
+void LLSky::setSunDirection(const LLVector3 &sun_direction, const LLVector3 &sun_ang_velocity) {}
+
+LLSky gSky;