equal
deleted
inserted
replaced
51 /** |
51 /** |
52 * do some special process with assess DBs when receives closesession command |
52 * do some special process with assess DBs when receives closesession command |
53 */ |
53 */ |
54 IMPORT_C static void CloseSessionL(); |
54 IMPORT_C static void CloseSessionL(); |
55 |
55 |
|
56 /** |
|
57 * Issue ActiveToIdle Status Change (ActiveObject) |
|
58 * this function is to be called after an MTP operation is finish to change status from Active to Idle |
|
59 * observer of the status might not get the notification if idle->active->idle happens in one synchronous operation |
|
60 */ |
|
61 IMPORT_C static void ActiveToIdleStatusChange(); |
|
62 |
|
63 /** |
|
64 * Cancel Outstanding ActiveToIdle Status Change |
|
65 */ |
|
66 IMPORT_C static void CancelActiveToIdleStatusChange(); |
|
67 |
56 private: |
68 private: |
57 /* |
69 /* |
58 * get singleton instance, for internal use |
70 * get singleton instance, for internal use |
59 */ |
71 */ |
60 static CMmMtpDpAccessSingleton* Instance(); |
72 static CMmMtpDpAccessSingleton* Instance(); |
71 /* |
83 /* |
72 * destruction |
84 * destruction |
73 */ |
85 */ |
74 ~CMmMtpDpAccessSingleton(); |
86 ~CMmMtpDpAccessSingleton(); |
75 |
87 |
|
88 /** |
|
89 * get DelayStatusChanger instance, internal use only |
|
90 */ |
|
91 static CIdle* DelayStatusChanger(); |
|
92 |
|
93 /** |
|
94 * Perform actural ActiveToIdle Status Change after active object callback |
|
95 */ |
|
96 static TInt DoActiveToIdleStatusChange(TAny* Any); |
|
97 |
76 private: |
98 private: |
77 CMmMtpDpMetadataAccessWrapper* iWrapper; |
99 CMmMtpDpMetadataAccessWrapper* iWrapper; |
|
100 |
|
101 CIdle* iDelayStatusChanger; |
78 |
102 |
79 }; |
103 }; |
80 |
104 |
81 #endif // CMMMTPDPACCESSSINGLETON_H |
105 #endif // CMMMTPDPACCESSSINGLETON_H |