Overte C++ Documentation
ComponentMode.h
1 //
2 // ComponentMode.h
3 // libraries/entities/src
4 //
5 // Created by Nissim Hadar on 9/21/17.
6 // Copyright 2013 High Fidelity, Inc.
7 //
8 // Distributed under the Apache License, Version 2.0.
9 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10 //
11 
12 #ifndef hifi_ComponentMode_h
13 #define hifi_ComponentMode_h
14 
15 #include <QString>
16 
17 enum ComponentMode {
18  COMPONENT_MODE_INHERIT,
19  COMPONENT_MODE_DISABLED,
20  COMPONENT_MODE_ENABLED,
21 
22  COMPONENT_MODE_ITEM_COUNT
23 };
24 
25 enum AvatarPriorityMode {
26  AVATAR_PRIORITY_INHERIT,
27  AVATAR_PRIORITY_CROWD,
28  AVATAR_PRIORITY_HERO,
29 
30  AVATAR_PRIORITY_ITEM_COUNT
31 };
32 
33 class ComponentModeHelpers {
34 public:
35  static QString getNameForComponentMode(ComponentMode mode);
36 };
37 
38 class AvatarPriorityModeHelpers {
39 public:
40  static QString getNameForAvatarPriorityMode(AvatarPriorityMode mode);
41 };
42 
43 #endif // hifi_ComponentMode_h
44