|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Inline functions for TMceFlags |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // --------------------------------------------------------- |
|
22 // TMceFlags::SetMceFlag |
|
23 // This is static function |
|
24 // (other items were commented in a header). |
|
25 // --------------------------------------------------------- |
|
26 // |
|
27 inline void TMceFlags::SetMceFlag( TUint32 aFlag ) |
|
28 { |
|
29 iFlags = iFlags | aFlag; |
|
30 } |
|
31 |
|
32 // --------------------------------------------------------- |
|
33 // TMceFlags::ClearMceFlag |
|
34 // This is static function |
|
35 // (other items were commented in a header). |
|
36 // --------------------------------------------------------- |
|
37 // |
|
38 inline void TMceFlags::ClearMceFlag( TUint32 aFlag ) |
|
39 { |
|
40 iFlags = iFlags & ( ~aFlag ); |
|
41 } |
|
42 |
|
43 // --------------------------------------------------------- |
|
44 // TMceFlags::MceFlag |
|
45 // This is static function |
|
46 // (other items were commented in a header). |
|
47 // --------------------------------------------------------- |
|
48 // |
|
49 inline TBool TMceFlags::MceFlag( TUint32 aFlag ) const |
|
50 { |
|
51 return iFlags & aFlag; |
|
52 } |
|
53 |
|
54 // End of File |