equal
deleted
inserted
replaced
19 |
19 |
20 |
20 |
21 #ifndef __SECUI_H |
21 #ifndef __SECUI_H |
22 #define __SECUI_H |
22 #define __SECUI_H |
23 |
23 |
24 #if defined(_DEBUG) |
|
25 #define RDEBUG( x, y ) RDebug::Printf( "%s %s (%u) %s=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, x, y ); |
|
26 #define RDEBUGSTR( x ) RDebug::Print( x ); |
|
27 #else |
|
28 #define RDEBUG( x, y ) |
|
29 #define RDEBUGSTR( x ) |
|
30 #endif |
|
31 |
|
32 class TSecUi |
24 class TSecUi |
33 { |
25 { |
34 public: |
26 public: |
35 /** |
27 /** |
36 * Initializes SecUi resource file |
28 * Initializes SecUi resource file |
42 * Uninitializes SecUi resource file |
34 * Uninitializes SecUi resource file |
43 * |
35 * |
44 * Should be called after finished using SecUi methods |
36 * Should be called after finished using SecUi methods |
45 */ |
37 */ |
46 IMPORT_C static void UnInitializeLib(); |
38 IMPORT_C static void UnInitializeLib(); |
|
39 /** |
|
40 * Returns the resource file name of SecurityUI dll. |
|
41 * |
|
42 * @return TFileName (resource file name) |
|
43 */ |
|
44 static TFileName ResourceFileName(); |
47 /** |
45 /** |
48 * Check if SecUi can be uninitialized, i.e. if client count is zero (or less). |
46 * Check if SecUi can be uninitialized, i.e. if client count is zero (or less). |
49 * |
47 * |
50 * @return ETrue if SecUi can be freed, EFalse otherwise. |
48 * @return ETrue if SecUi can be freed, EFalse otherwise. |
51 */ |
49 */ |
75 */ |
73 */ |
76 void ConstructL(); |
74 void ConstructL(); |
77 private: |
75 private: |
78 TInt iResourceFileOffset; |
76 TInt iResourceFileOffset; |
79 TInt iClientCount; |
77 TInt iClientCount; |
80 TInt iDialogOpened; |
|
81 |
78 |
82 }; |
79 }; |
83 #endif |
80 #endif |
84 |
81 |
85 // End of file |
82 // End of file |