summaryrefslogtreecommitdiff
path: root/indra/newview/rlvactions.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/rlvactions.h')
-rw-r--r--indra/newview/rlvactions.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/newview/rlvactions.h b/indra/newview/rlvactions.h
new file mode 100644
index 0000000000..ac4fc73339
--- /dev/null
+++ b/indra/newview/rlvactions.h
@@ -0,0 +1,19 @@
+#pragma once
+
+// ============================================================================
+// RlvActions - developer-friendly non-RLVa code facing class, use in lieu of RlvHandler whenever possible
+//
+
+class RlvActions
+{
+ // ================
+ // Helper functions
+ // ================
+public:
+ /*
+ * Convenience function to check if RLVa is enabled without having to include rlvhandler.h
+ */
+ static bool isRlvEnabled();
+};
+
+// ============================================================================