omadm/lawmo/lawmoplugins/messagingplugin/inc/messagingplugin.h
branchRCL_3
changeset 70 5d5344402085
parent 65 450d1facd418
child 73 5042b6604f6f
equal deleted inserted replaced
65:450d1facd418 70:5d5344402085
     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: Messaging plug-in for LAWMO.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef _MESSAGINGPLUGIN__
       
    19 #define _MESSAGINGPLUGIN__
       
    20 
       
    21 
       
    22 #include <f32file.h>
       
    23 #include <lawmointerface.h>
       
    24 #include <lawmocallbackinterface.h>
       
    25 #include "fdebug.h"
       
    26 #include "lawmomessagingasyncwipe.h"
       
    27 
       
    28 // An implementation of the CLAWMOPluginInterface definition
       
    29 class CLAWMOMessagingplugin : public CLAWMOPluginInterface
       
    30 {
       
    31 public:
       
    32 	// Standardised safe construction which leaves nothing the cleanup stack.
       
    33 	static CLAWMOMessagingplugin* NewL(MLawmoPluginWipeObserver* aObserver);
       
    34 	// Destructor	
       
    35 	~CLAWMOMessagingplugin();
       
    36 	
       
    37 	/**
       
    38 	 * Wipe the Messages
       
    39 	 * @param ENUM for which category of Messages to wipe
       
    40 	 * @return None
       
    41 	 */
       
    42 	void WipeL ();
       
    43 	
       
    44 private:
       
    45 	// Construction
       
    46 	CLAWMOMessagingplugin();
       
    47 	
       
    48 	/**
       
    49 	 * second phase constructor
       
    50 	 */
       
    51 	void ConstructL(MLawmoPluginWipeObserver* aObserver);
       
    52     
       
    53 private:
       
    54 	 CActiveWipeObject* iAsyncOp;
       
    55 };  
       
    56 
       
    57 #endif // _MESSAGINGPLUGIN__