phonebookengines/VirtualPhonebook/inc/CVPbkEmptyBatchOperation.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Virtual Phonebook Empty batch operation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CVPBKEMPTYBATCHOPERATION_H
       
    20 #define CVPBKEMPTYBATCHOPERATION_H
       
    21 
       
    22 // INCLUDE FILES
       
    23 #include <CVPbkMultiContactOperationBase.h>
       
    24 #include <MVPbkBatchOperationObserver.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 /**
       
    28  * Virtual Phonebook Empty batch operation.
       
    29  */
       
    30 class CVPbkEmptyBatchOperation : 
       
    31         public CActive,
       
    32 		public MVPbkContactOperation
       
    33     {
       
    34     public: // Construction & destruction
       
    35         IMPORT_C static CVPbkEmptyBatchOperation* NewLC(MVPbkBatchOperationObserver& aObserver);
       
    36         ~CVPbkEmptyBatchOperation();
       
    37 
       
    38     public: // From MVPbkContactOperation
       
    39         void StartL();
       
    40         void Cancel();
       
    41 
       
    42     private: // From CActive
       
    43         void RunL();
       
    44         void DoCancel();
       
    45 
       
    46     private: // Implementation
       
    47         CVPbkEmptyBatchOperation(MVPbkBatchOperationObserver& aObserver);
       
    48         void IssueRequest();
       
    49 
       
    50     private: // Data
       
    51         // Ref: Operation observer
       
    52         MVPbkBatchOperationObserver& iObserver;
       
    53     };
       
    54 
       
    55 #endif // CVPBKEMPTYBATCHOPERATION_H
       
    56 //End of file
       
    57