--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/Phonebook2/Commands/inc/CPbk2SyncMlCmd.h Tue Feb 02 10:12:17 2010 +0200
@@ -0,0 +1,77 @@
+/*
+* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Phonebook 2 SyncML command object.
+*
+*/
+
+
+#ifndef CPBK2SYNCMLCMD_H
+#define CPBK2SYNCMLCMD_H
+
+// INCLUDES
+#include <e32base.h>
+#include <MPbk2Command.h>
+#include <AiwCommon.h>
+
+// FORWARD DECLARATIONS
+class CAiwServiceHandler;
+
+// CLASS DECLARATION
+
+/**
+ * Phonebook 2 SyncML command object.
+ */
+NONSHARABLE_CLASS(CPbk2SyncMlCmd) :
+ public CBase,
+ public MPbk2Command
+ {
+ public: // Construction and destruction
+ /**
+ * Creates a new instance of this class.
+ *
+ * @param aCommandId Command id.
+ * @param aServiceHandler Service handler.
+ * @return A new instance of this class.
+ */
+ static CPbk2SyncMlCmd* NewL (
+ TInt aCommandId,
+ CAiwServiceHandler& aServiceHandler );
+
+ /**
+ * Destructor.
+ */
+ ~CPbk2SyncMlCmd();
+
+ public: // From MPbk2Command
+ void ExecuteLD();
+ void ResetUiControl(
+ MPbk2ContactUiControl& aUiControl );
+ void AddObserver(
+ MPbk2CommandObserver& aObserver );
+
+ private: // Implementation
+ CPbk2SyncMlCmd (
+ TInt aCommandId,
+ CAiwServiceHandler& aServiceHandler );
+
+ private: // Data
+ /// Own: Command id
+ TInt iCommandId;
+ /// Ref: AIW service handler
+ CAiwServiceHandler& iServiceHandler;
+ };
+
+#endif // CPBK2SYNCMLCMD_H
+
+// End of File