omadm/lawmo/lawmoplugins/contactsplugin/inc/contactsplugin.h
branchRCL_3
changeset 23 c4687ff85147
equal deleted inserted replaced
22:9360ca28b668 23:c4687ff85147
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Contacts plug-in for LAWMO
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef _CONTACTPLUGIN__
       
    19 #define _CONTACTPLUGIN__
       
    20 
       
    21 //#include "lawmoplugininterface.h"
       
    22 #include <lawmointerface.h>
       
    23 #include <lawmocallbackinterface.h>
       
    24 #include "lawmocontactsasyncwipe.h"
       
    25 
       
    26 // An implementation of the CLAWMOPluginInterface definition
       
    27 class CLAWMOContactsPlugin : public CLAWMOPluginInterface
       
    28 	{
       
    29 public:
       
    30 	// Standardised safe construction which leaves nothing the cleanup stack.
       
    31 	static CLAWMOContactsPlugin* NewL(MLawmoPluginWipeObserver* aObserver);
       
    32 	// Destructor	
       
    33 	~CLAWMOContactsPlugin();
       
    34 	
       
    35 	/**
       
    36 	 * Wipe the contacts
       
    37 	 * @param None
       
    38 	 * @return None
       
    39 	 */
       
    40 	void WipeL ();
       
    41 	
       
    42 private:
       
    43 	// Construction
       
    44 	CLAWMOContactsPlugin();
       
    45 	
       
    46 	/**
       
    47 	 * second phase constructor
       
    48 	 */
       
    49 	void ConstructL(MLawmoPluginWipeObserver* aObserver);
       
    50 
       
    51 private:	
       
    52     CActiveWipeObject *asyncOp;
       
    53 	};  
       
    54 
       
    55 #endif // _CONTACTPLUGIN__