summaryrefslogtreecommitdiff
path: root/indra/newview/rlvdefines.h
blob: dc1e58f47c861cf5b0368720c6ae5decb5ab9324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#pragma once

// ============================================================================
// Defines
//

namespace Rlv
{
    // Version of the specification we report
    struct SpecVersion {
        static constexpr S32 Major = 4;
        static constexpr S32 Minor = 0;
        static constexpr S32 Patch = 0;
        static constexpr S32 Build = 0;
    };

    // RLVa implementation version
    struct ImplVersion {
        static constexpr S32 Major = 3;
        static constexpr S32 Minor = 0;
        static constexpr S32 Patch = 0;
        static constexpr S32 ImplId = 2; /* Official viewer */
    };
}

// Defining these makes it easier if we ever need to change our tag
#define RLV_WARNS		LL_WARNS("RLV")
#define RLV_INFOS		LL_INFOS("RLV")
#define RLV_DEBUGS		LL_DEBUGS("RLV")
#define RLV_ENDL		LL_ENDL

// ============================================================================
// Settings
//

namespace Rlv
{
    namespace Settings
    {
        constexpr char Main[] = "RestrainedLove";
        constexpr char Debug[] = "RestrainedLoveDebug";

        constexpr char DebugHideUnsetDup[] = "RLVaDebugHideUnsetDuplicate";
        constexpr char EnableIMQuery[] = "RLVaEnableIMQuery";
        constexpr char EnableTempAttach[] = "RLVaEnableTemporaryAttachments";
        constexpr char TopLevelMenu[] = "RLVaTopLevelMenu";
    };

};

// ============================================================================