author | MattD <mattd@symbian.org> |
Thu, 01 Apr 2010 12:25:43 +0100 | |
branch | v5backport |
changeset 46 | db99fd9fcd1c |
parent 20 | d2ab7c3d0c48 |
permissions | -rw-r--r-- |
20
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
1 |
/* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
2 |
* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
3 |
* All rights reserved. |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
8 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
11 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
12 |
* Contributors: |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
13 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
14 |
* Description: Defines permission data structure |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
15 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
16 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
17 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
18 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
19 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
20 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
21 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
22 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
23 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
24 |
#ifndef _C_PERMISSION_H_ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
25 |
#define _C_PERMISSION_H_ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
26 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
27 |
#include <e32debug.h> |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
28 |
#include <s32strm.h> |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
29 |
#include <s32mem.h> |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
30 |
#include <rtsecmgrcommondef.h> |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
31 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
32 |
typedef TUint32 TPermissionData; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
33 |
const TPermissionData LOWBIT = 0x0001; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
34 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
35 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
36 |
* Represents permission data structure. |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
37 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
38 |
* A permission data is modelled as 32 bit unsigned integer type |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
39 |
* with the following layout : |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
40 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
41 |
* - With leftmost 20 bits representing one of symbian native capability value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
42 |
* - Bits 25 to 28 represent various user prompt conditions like oneshot, |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
43 |
* session or blanket |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
44 |
* - Bits 29-32 represent default condition value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
45 |
* - Bits 21-24 are reserved |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
46 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
47 |
* Various accessor and modifier methods are provided to access underlying |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
48 |
* native capability value, the default condition and the conditions set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
49 |
* for this permission data. |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
50 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
51 |
* @lib rtsecmgrutil.lib |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
52 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
53 |
NONSHARABLE_CLASS(CPermission) : public CBase |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
54 |
{ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
55 |
public: |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
56 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
57 |
* Default constructor |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
58 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
59 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
60 |
IMPORT_C static CPermission* NewL(); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
61 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
62 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
63 |
* destructor |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
64 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
65 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
66 |
IMPORT_C ~CPermission(); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
67 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
68 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
69 |
* Default constructor |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
70 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
71 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
72 |
IMPORT_C static CPermission* NewLC(); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
73 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
74 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
75 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
76 |
* Copy constructor |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
77 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
78 |
* @param aPermission TPermission permission source from which copy is made |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
79 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
80 |
IMPORT_C static CPermission* NewL(const CPermission& aPermission); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
81 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
82 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
83 |
* Copy constructor |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
84 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
85 |
* @param aPermission TPermission permission source from which copy is made |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
86 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
87 |
IMPORT_C static CPermission* NewLC(const CPermission& aPermission); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
88 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
89 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
90 |
* Overloaded constructor taking capability |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
91 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
92 |
* @param aCapability TCapability capability to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
93 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
94 |
IMPORT_C static CPermission* NewL(const RCapabilityArray& aCapabilities); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
95 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
96 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
97 |
* Overloaded constructor taking capability |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
98 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
99 |
* @param aCapability TCapability capability to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
100 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
101 |
IMPORT_C static CPermission* NewLC(const RCapabilityArray& aCapabilities); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
102 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
103 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
104 |
* Overloaded constructor taking capability and default condition |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
105 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
106 |
* @param aCapability TCapability capability to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
107 |
* @param aDefaultOption TUserPromptOption Default user prompt option to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
108 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
109 |
IMPORT_C static CPermission* NewL(const RCapabilityArray& aCapabilities, TUserPromptOption aDefOpt); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
110 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
111 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
112 |
* Overloaded constructor taking capability and default condition |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
113 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
114 |
* @param aCapability TCapability capability to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
115 |
* @param aDefaultOption TUserPromptOption Default user prompt option to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
116 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
117 |
IMPORT_C static CPermission* NewLC(const RCapabilityArray& aCapabilities, TUserPromptOption aDefOpt); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
118 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
119 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
120 |
* Overloaded constructor taking capability, default condition and conditions of |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
121 |
* permission |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
122 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
123 |
* @param aCapability TCapability capability to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
124 |
* @param aDefaultOption TUserPromptOption Default user prompt option to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
125 |
* @param aCondition TUserPromptOption Conditions to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
126 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
127 |
IMPORT_C static CPermission* NewL(const RCapabilityArray& aCapabilities, TUserPromptOption aDefOpt, |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
128 |
TUserPromptOption aCondition); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
129 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
130 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
131 |
* Overloaded constructor taking capability, default condition and conditions of |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
132 |
* permission |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
133 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
134 |
* @param aCapability TCapability capability to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
135 |
* @param aDefaultOption TUserPromptOption Default user prompt option to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
136 |
* @param aCondition TUserPromptOption Conditions to be set |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
137 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
138 |
IMPORT_C static CPermission* NewLC(const RCapabilityArray& aCapabilities, TUserPromptOption aDefOpt, |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
139 |
TUserPromptOption aCondition); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
140 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
141 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
142 |
* Returns default prompt option |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
143 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
144 |
* @return TUserPromptOption default condition |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
145 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
146 |
IMPORT_C TUserPromptOption Default() const; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
147 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
148 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
149 |
* Returns condition |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
150 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
151 |
* @return TUserPromptOption condition |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
152 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
153 |
IMPORT_C TUserPromptOption Condition() const; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
154 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
155 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
156 |
* Returns capability value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
157 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
158 |
* @return TCapability capability value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
159 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
160 |
IMPORT_C TCapability Capability() const; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
161 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
162 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
163 |
* Returns capability of the permission |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
164 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
165 |
* @param aCapabilities RCapabilityArray& contains the capabilities |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
166 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
167 |
IMPORT_C void Capabilitilites(RCapabilityArray& aCapabilities) const; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
168 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
169 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
170 |
* Sets default condition value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
171 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
172 |
* @param aDefaultOption TUserPromptOption default condition value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
173 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
174 |
IMPORT_C void SetDefault(TUserPromptOption aDefaultOption); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
175 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
176 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
177 |
* Sets condition value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
178 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
179 |
* @param aCondition TUserPromptOption condition value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
180 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
181 |
IMPORT_C void SetCondition(TUserPromptOption aCondition); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
182 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
183 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
184 |
* Sets the name of the permission |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
185 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
186 |
* @param aName const TDesC& value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
187 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
188 |
IMPORT_C void SetPermName(const TDesC& aName); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
189 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
190 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
191 |
* Returns Name of the permission |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
192 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
193 |
* @return const TDesC& |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
194 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
195 |
IMPORT_C const TDesC& PermName() const; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
196 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
197 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
198 |
* Returns iPermissionData of the permission |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
199 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
200 |
* @return TPermission iPermissionData value |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
201 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
202 |
IMPORT_C TPermissionData PermissionData() const; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
203 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
204 |
// --------------------------------------------------------------------------- |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
205 |
// Adds a capability to permission data |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
206 |
// --------------------------------------------------------------------------- |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
207 |
// |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
208 |
IMPORT_C void AppendCapPermData(TCapability aCap); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
209 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
210 |
// --------------------------------------------------------------------------- |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
211 |
// Adds an unconditional capability |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
212 |
// --------------------------------------------------------------------------- |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
213 |
// |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
214 |
IMPORT_C void SetPermissionData(TPermissionData aPermData); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
215 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
216 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
217 |
* Internalizes permission data from stream |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
218 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
219 |
* @param aInStream RReadStream input source stream |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
220 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
221 |
IMPORT_C void InternalizeL(RReadStream& aInStream); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
222 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
223 |
/** |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
224 |
* Externalizes permission data to stream |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
225 |
* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
226 |
* @param aOutStream RWriteStream output stream |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
227 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
228 |
IMPORT_C void ExternalizeL(RWriteStream& aOutStream) const; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
229 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
230 |
private: |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
231 |
/* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
232 |
* Default private constructor |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
233 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
234 |
inline CPermission() : iPermName(NULL), iPermissionData(0) |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
235 |
{} |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
236 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
237 |
/* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
238 |
* private copy constructor |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
239 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
240 |
CPermission(const CPermission& aPermission); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
241 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
242 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
243 |
CPermission(const RCapabilityArray& aCapabilities); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
244 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
245 |
CPermission(const RCapabilityArray& aCapabilities, TUserPromptOption aDefOpt); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
246 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
247 |
CPermission(const RCapabilityArray& aCapabilities, TUserPromptOption aDefOpt,TUserPromptOption aCondition); |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
248 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
249 |
private: |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
250 |
//layout of TPermissionData |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
251 |
//__________________________________________________________________________ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
252 |
//| | | | | |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
253 |
//| Default | Condition | RESERVED | CAPABILITY BITS | |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
254 |
//|_________________|______________|_______________|________________________| |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
255 |
// |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
256 |
// 32,31,30,29, 28,27,26,25, 24,23,22,21, 20,19,18,...4,3,2,1 |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
257 |
// |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
258 |
//underlying permission data structure |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
259 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
260 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
261 |
TPermissionData iPermissionData; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
262 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
263 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
264 |
/* |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
265 |
* alias group name |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
266 |
*/ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
267 |
HBufC* iPermName; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
268 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
269 |
}; |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
270 |
|
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
271 |
#endif //_T_PERMISSION_H_ |
d2ab7c3d0c48
homescreenpluginsrv component compiles now
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
272 |