diff options
author | Kitty Barnett <develop@catznip.com> | 2024-08-31 01:33:27 +0200 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-05-11 16:25:42 +0800 |
commit | 49567c97fd8416b9130b3af52055cf973d9aa894 (patch) | |
tree | 5a8c4824a56a0a5eb4bc8276272fabe4eae1958b /indra/newview/rlvactions.h | |
parent | 390ba2f4fdc8520192182f97d934c9f20367c6a1 (diff) |
Minimal code needed to add RLVa with an on/off toggle
Diffstat (limited to 'indra/newview/rlvactions.h')
-rw-r--r-- | indra/newview/rlvactions.h | 19 |
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(); +}; + +// ============================================================================ |