omadm/lawmo/lawmoplugins/calllogsplugin/inc/calllogsplugin.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:  Callogs plug-in for LAWMO
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef _CALLLOGSPLUGIN__
       
    19 #define _CALLLOGSPLUGIN__
       
    20 
       
    21 #include <e32base.h>	// For CActive, link against: euser.lib
       
    22 #include <e32std.h>		// For RTimer, link against: euser.lib
       
    23 
       
    24 #include <f32file.h>
       
    25 #include <flogger.h>
       
    26 #include <lawmointerface.h>
       
    27 #include <lawmocallbackinterface.h>
       
    28 #include "lawmocalllogsasyncwipe.h"
       
    29 
       
    30 class CLAWMOCallLogsPlugin: public CLAWMOPluginInterface
       
    31     {
       
    32 public:
       
    33     // Standardised safe construction which leaves nothing the cleanup stack.
       
    34     static CLAWMOCallLogsPlugin* NewL(MLawmoPluginWipeObserver* aObserver);
       
    35     // Destructor   
       
    36     ~CLAWMOCallLogsPlugin();
       
    37     
       
    38     /*
       
    39     * Description: Calls Aynchronous object for wiping call-logs.
       
    40     */
       
    41     void WipeL ();    
       
    42 private:
       
    43     // Construction
       
    44     CLAWMOCallLogsPlugin();
       
    45 
       
    46     /**
       
    47      * second phase constructor
       
    48      */
       
    49     void ConstructL(MLawmoPluginWipeObserver* aObserver); 
       
    50 private:
       
    51     CActiveWipeObject *iAsyncOp;
       
    52     };
       
    53 
       
    54 #endif // _CALLLOGSPLUGIN__