--- a/ipsservices/ipssosplugin/inc/ipsplgdeletelocal.h Thu Aug 19 09:38:05 2010 +0300
+++ b/ipsservices/ipssosplugin/inc/ipsplgdeletelocal.h Tue Aug 31 15:04:17 2010 +0300
@@ -23,17 +23,15 @@
#include <cacheman.h>
-// CONSTANTS
-// MACROS
-// DATA TYPES
-// FUNCTION PROTOTYPES
-// FORWARD DECLARATIONS
-// CLASS DECLARATION
-
+//<qmail> removed
+//<qmail> comment added
/**
-*
+* class CIpsPlgDeleteLocal
+* Implements virtual Filter() of CImCacheManager and decides if
+* message should be deleted.
*/
-class CIpsPlgDeleteLocal : public CImCacheManager
+//</qmail>
+NONSHARABLE_CLASS( CIpsPlgDeleteLocal ) : public CImCacheManager
{
public:
@@ -45,7 +43,7 @@
* @return pointer to created CIpsPlgDeleteLocal object.
*/
static CIpsPlgDeleteLocal* NewL(
- CMsvEntrySelection& aMessageSelection,
+ CMsvEntrySelection* aMessageSelection,
CMsvSession& aMsvSession,
TRequestStatus& aObserverRequestStatus );
@@ -61,7 +59,7 @@
* Symbian OS constructor.
* @param aMessageSelection array of message ids to be purged
*/
- void ConstructL( CMsvEntrySelection& aMessageSelection );
+ void ConstructL( CMsvEntrySelection* aMessageSelection );
private:
@@ -80,9 +78,9 @@
TRequestStatus& aObserverRequestStatus );
private: // data
-
- CMsvEntrySelection* iMessageSelection;
-
+//<qmail>
+ CMsvEntrySelection* iMessageSelection; // owned
+//</qmail>
};
#endif // IPSPLGDELETELOCAL_H