ipsservices/ipssosplugin/inc/ipsplgservicedeletionop.h
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:  Operation class for the deletion of SMTP and related 
       
    15 *                POP3/IMAP4 service entries
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // NOT NEEDED
       
    21 
       
    22 #ifndef IPSPLGSERVICEDELETIONOP_H
       
    23 #define IPSPLGSERVICEDELETIONOP_H
       
    24 
       
    25 /*#include <msvapi.h>
       
    26 #include <msvipc.h>
       
    27 #include "ipsplgbaseoperation.h"*/
       
    28 
       
    29 /**
       
    30 *
       
    31 */
       
    32 /*class CIpsPlgServiceDeletionOp :
       
    33     public CMsvOperation
       
    34     {
       
    35     public:*/
       
    36     
       
    37         /**
       
    38         *
       
    39         */
       
    40         /*static CIpsPlgServiceDeletionOp* NewL(
       
    41             CMsvSession& aMsvSession,
       
    42             TRequestStatus& aObserverRequestStatus,
       
    43             TFSMailMsgId aFSMailboxId );*/
       
    44 
       
    45         /**
       
    46         *
       
    47         */
       
    48         //~CIpsPlgServiceDeletionOp();
       
    49 
       
    50         /**
       
    51         *
       
    52         */
       
    53        // virtual const TDesC8& ProgressL();
       
    54 
       
    55         /**
       
    56         *
       
    57         */
       
    58        // virtual const TDesC8& GetErrorProgressL(TInt aError);
       
    59         
       
    60     //protected:
       
    61     
       
    62         /**
       
    63         * From CActive
       
    64         */
       
    65        // virtual void RunL();
       
    66 
       
    67         /**
       
    68         * From CActive
       
    69         */
       
    70        // virtual void DoCancel();
       
    71 
       
    72    // protected:
       
    73     
       
    74         /**
       
    75         *
       
    76         */
       
    77         /*CIpsPlgServiceDeletionOp(
       
    78             CMsvSession& aMsvSession,
       
    79             TRequestStatus& aObserverRequestStatus );*/
       
    80 
       
    81         /**
       
    82         *
       
    83         */
       
    84        // void ConstructL( TFSMailMsgId aFSMailboxId );
       
    85 
       
    86         /**
       
    87         * Kick off an entry deletion and go active.
       
    88         */
       
    89       //  void BeginDeleteOperationL(TMsvId aServiceId);
       
    90 
       
    91         /**
       
    92         *
       
    93         */
       
    94         //void DoRunL();
       
    95 
       
    96         /**
       
    97         * Complete the observer and update internal state.
       
    98         */
       
    99        // void Complete();
       
   100 
       
   101         /**
       
   102         * Do our best to make sure the deletion is still carried
       
   103         * out if an error occurs.
       
   104         */
       
   105        // void ForceServiceRemoval();
       
   106 
       
   107         
       
   108         /**
       
   109         * Removes the account from the Central Repository
       
   110         * @since S60 3.0
       
   111         */
       
   112       //  void BeginRemoveAccountDeleteOpL();
       
   113         
       
   114         /**
       
   115         *
       
   116         */
       
   117      //   void RemoveAOAgentL();
       
   118         
       
   119    /* private:
       
   120     
       
   121         
       
   122         enum TState
       
   123             { EDeleteAccountSettings,
       
   124               EDeletePopImap,
       
   125               EDeleteSmtp,
       
   126               EStateComplete,
       
   127               EIdle };
       
   128               
       
   129         TState                          iState;
       
   130         CMsvOperation*                  iSubOperation;
       
   131         CMsvEntry*                      iRootEntry;
       
   132         TBuf8<KMsvProgressBufferLength> iProgressBuf;
       
   133         TInt                            iError;        
       
   134         TMsvEntry                       iTEntry;//account index entry
       
   135     };*/
       
   136 
       
   137 
       
   138 #endif // IPSPLGSERVICEDELETIONOP_H