86 /** |
86 /** |
87 * Enable devicelock. |
87 * Enable devicelock. |
88 * @return KErrNone if succeeded |
88 * @return KErrNone if succeeded |
89 * KErrAlreadyExists if already enabled |
89 * KErrAlreadyExists if already enabled |
90 * KErrPermissionDenied if no required capabilities |
90 * KErrPermissionDenied if no required capabilities |
|
91 * Other errors |
91 */ |
92 */ |
92 IMPORT_C TInt EnableDevicelock( TDevicelockReason aReason = EDevicelockManual ); |
93 IMPORT_C TInt EnableDevicelock( TDevicelockReason aReason = EDevicelockManual ); |
93 |
94 |
94 /** |
95 /** |
95 * Currently not implemented ! |
96 * Offer to enable devicelock. Shows a query note to user, and then a unlock-query. |
96 * Offer to enable devicelock. Shows a query note to user. |
97 * @return KErrNone if succeeded |
|
98 * KErrAlreadyExists if already enabled |
|
99 * KErrPermissionDenied if no required capabilities |
|
100 * Other errors |
97 */ |
101 */ |
98 IMPORT_C TInt OfferDevicelock( ); |
102 IMPORT_C TInt OfferDevicelock( ); |
99 |
103 |
100 /** |
104 /** |
101 * Remove this method eventually! |
105 * Disable devicelock. Shows a unlock-query to user. |
102 * |
|
103 * Disable devicelock. |
|
104 * @return KErrNone if succeeded |
106 * @return KErrNone if succeeded |
105 * KErrAlreadyExists if already enabled |
107 * KErrAlreadyExists if already enabled |
106 * KErrPermissionDenied if no required capabilities |
108 * KErrPermissionDenied if no required capabilities |
|
109 * Other errors |
107 */ |
110 */ |
108 IMPORT_C TInt DisableDevicelock( ); |
111 IMPORT_C TInt DisableDevicelock( ); |
109 |
112 |
110 private: |
113 private: |
111 |
114 |