equal
deleted
inserted
replaced
69 |
69 |
70 /** |
70 /** |
71 * The base class for the delayed operations. All of the delayed operations must |
71 * The base class for the delayed operations. All of the delayed operations must |
72 * derive from it. |
72 * derive from it. |
73 */ |
73 */ |
74 class BASEPLUGIN_EXPORT CDelayedOp : public CAsyncOneShot |
74 class BASEPLUGIN_EXPORT CDelayedOp : public CActive |
75 { |
75 { |
76 |
76 |
77 public: |
77 public: |
78 |
78 |
79 virtual ~CDelayedOp(); |
79 virtual ~CDelayedOp(); |
80 |
80 |
81 void SetContext( |
81 void SetContext( |
82 CBasePlugin& aPlugin, |
82 CBasePlugin& aPlugin, |
83 MDelayedOpsManager& aManager ); |
83 MDelayedOpsManager& aManager ); |
84 |
84 |
|
85 void StartOp(); |
85 /** |
86 /** |
86 * Derived classes must implement their asynchronous processing in this |
87 * Derived classes must implement their asynchronous processing in this |
87 * method. The GetPlugin method can only be used from within this method. |
88 * method. The GetPlugin method can only be used from within this method. |
88 */ |
89 */ |
89 virtual void ExecuteOpL() = 0; |
90 virtual TBool ExecuteOpL() = 0; |
90 |
91 |
91 protected: |
92 protected: |
92 |
93 |
93 CDelayedOp(); |
94 CDelayedOp(); |
94 |
95 |