uiservicetab/vimpstcmdprocess/inc/cvimstcmdfriendrequest.h
branchRCL_3
changeset 22 3104fc151679
parent 21 2b7283837edb
child 23 9a48e301e94b
--- a/uiservicetab/vimpstcmdprocess/inc/cvimstcmdfriendrequest.h	Thu Aug 19 09:41:53 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,120 +0,0 @@
-/*
-* Copyright (c) 2008 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: IM AddContact command object  
-*
-*/
-
-
-#ifndef CVIMSTCMDFRIENDREQUEST_H_
-#define CVIMSTCMDFRIENDREQUEST_H_
-
-// INCLUDES
-#include <e32base.h>
-#include "mvimpstcmd.h"
-
-// FORWARD DECLARATION
-
-class MVIMPSTEngine;
-
-// CLASS DECLARATION
-
-/**
- * IM AddContact command object.
- * @lib vimpstcmdprocess.dll
- * @since 5.0
- */
-NONSHARABLE_CLASS(CVIMPSTCmdFriendRequest) : public CBase,
-                                  public MVIMPSTCmd
-    {
-    public: // Construction and destruction
-
-        /**
-         * Creates a new instance of this class.
-         * @param aCommandId        Command id.
-         * @param aContactId id of the contact to be aded..
-         * @param aEngine instance of engine.
-         * @return  A new instance of this class.
-         */
-        static CVIMPSTCmdFriendRequest* NewL(
-                const TInt aCommandId ,const TDesC& aContactId,
-                MVIMPSTEngine& aEngine);
-
-        /**
-         * Destructor.
-         */
-        ~CVIMPSTCmdFriendRequest();
-
-    public: // From mvimpstcmd
-       /**
-        * @see mvimpstcmd
-        */
-        void ExecuteLD();        
-       /**
-        * @see mvimpstcmd
-        */
-        void AddObserver(
-                MVIMPSTCmdObserver& aObserver );
-       /**
-        * @see mvimpstcmd
-        */
-        TInt CommandId() const;     
-       /**
-        * @see mvimpstcmd
-        */  
-        TInt Result() const;
-        
-             
-
-    private: // Implementation
-    
-       /**
-        * symbian default constructor
-        * @param aCommandId        Command id.
-        * @param aContactId id of the contact to be aded..
-        * @param aEngine instance of engine.
-        */
-        CVIMPSTCmdFriendRequest(
-                const TInt aCommandId, 
-                const TDesC& aContactId, 
-                MVIMPSTEngine& aEngine);
-                
-       /**
-        * symbian second phase constructor
-        */         
-        void ConstructL();
-        
-        
-    private: // Data
-        
-        //Command id.
-        const TInt iCommandId;  
-        
-        //contact id.
-        const TDesC& iContactId;
-        
-        //doesnt own observer.
-        MVIMPSTCmdObserver* iObserver;  
-        
-        //doesnt own engine for this service
-        MVIMPSTEngine& iEngine;
-        
-        //error code.
-        TInt iError;
-
-    };
-
-#endif /*CVIMSTCMDFRIENDREQUEST_H_*/
-
-//END OF FILE
-