equal
deleted
inserted
replaced
|
1 |
|
2 #define EAknOneBit 1 |
|
3 #define EAknTwoBit 0x2 |
|
4 #define EAknThree (EAknOneBit | EAknTwoBit) |
|
5 |
|
6 #define EAknRed (0x1) |
|
7 #define EAknGreen 0x2 |
|
8 #define EAknBlue 4 |
|
9 #define EAknWhite (7) |
|
10 #define EAknYellow (EAknRed | EAknGreen) |
|
11 #define EAknBlack 0 |
|
12 |
|
13 STRUCT BITMASK { |
|
14 LONG numbers = -1; |
|
15 LONG colors = -1; |
|
16 } |
|
17 |
|
18 enum { |
|
19 EAknRedEnum = 1, |
|
20 EAknGreenEnum = 2, |
|
21 EAknBlueEnum = 4, |
|
22 EAknWhiteEnum = 7, |
|
23 EAknYellowEnum = EAknRedEnum | EAknGreenEnum, |
|
24 EAknBlackEnum = 0 |
|
25 }; |
|
26 |
|
27 STRUCT BITMASK_DEFAULTS { |
|
28 LONG numbers = 0; |
|
29 LONG colors = EAknGreenEnum; |
|
30 } |
|
31 |