phonebookui/Phonebook/App/inc/CPbkSyncMlCmd.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *      SyncML command object.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __CPbkSyncMlCmd_H__
       
    21 #define __CPbkSyncMlCmd_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <cntdef.h>
       
    26 #include <MPbkCommand.h>
       
    27 #include <MPbkBackgroundProcess.h>
       
    28 #include <CPbkAddressSelect.h>
       
    29 #include <AiwDialDataTypes.h>
       
    30 #include <AiwPoCParameters.h>
       
    31 
       
    32 
       
    33 // FORWARD DECLARATIONS
       
    34 class CPbkContactItem;
       
    35 class TPbkContactItemField;
       
    36 class CAiwServiceHandler;
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41  * SyncMl command object.
       
    42  */
       
    43 class CPbkSyncMlCmd :
       
    44         public CBase,
       
    45         public MPbkCommand,
       
    46         private MPbkProcessObserver
       
    47     {
       
    48     public: // Interface
       
    49 		/**
       
    50          * Static constructor.         
       
    51          * @param aCommandId command id
       
    52          * @param aServiceHandler service handler
       
    53          * @return a new call command object.
       
    54          */
       
    55 		static CPbkSyncMlCmd* NewL (
       
    56             TInt aCommandId,
       
    57             CAiwServiceHandler& aServiceHandler);
       
    58 
       
    59         /**
       
    60          * Destructor.
       
    61          */
       
    62         ~CPbkSyncMlCmd();
       
    63 
       
    64     public:  // from MPbkCommand
       
    65         void ExecuteLD();
       
    66 
       
    67     public:  // from MPbkProcessObserver
       
    68         void ProcessFinished(MPbkBackgroundProcess& aProcess);
       
    69 
       
    70     private:  // Implementation
       
    71         CPbkSyncMlCmd (            
       
    72             TInt aCommandId,
       
    73             CAiwServiceHandler& aServiceHandler);
       
    74 
       
    75     private:  // Data       
       
    76         /// Own: command id
       
    77         TInt iCommandId;
       
    78         /// Ref: AIW service handler
       
    79         CAiwServiceHandler& iServiceHandler;        
       
    80     };
       
    81 
       
    82 #endif // __CPbkSyncMlCmd_H__
       
    83 
       
    84 // End of File