phonebookui/Phonebook2/ccapplication/ccacontactorservice/inc/ccacontactorvideocalloperation.h
branchRCL_3
changeset 63 f4a778e096c2
child 64 c1e8ba0c2b16
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/Phonebook2/ccapplication/ccacontactorservice/inc/ccacontactorvideocalloperation.h	Wed Sep 01 12:29:52 2010 +0100
@@ -0,0 +1,93 @@
+/*
+* 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:  Class implementing the video call operation
+*
+*/
+
+
+#ifndef CCACONTACTORVIDEOCALLOPERATION_H
+#define CCACONTACTORVIDEOCALLOPERATION_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+// CLASS DECLARATION
+class CCCAContactorOperation;
+
+/**
+ * Class implementing the video call operation
+ *
+ *  @code
+ *   ?good_class_usage_example(s)
+ *  @endcode
+ *
+ *  @lib
+ *  @since S60 v5.0
+ */
+NONSHARABLE_CLASS(CCCAContactorVideocallOperation) : public CCCAContactorOperation
+    {
+public:
+    // Constructors and destructor
+
+    /**
+     * Destructor.
+     */
+    ~CCCAContactorVideocallOperation();
+
+    /**
+     * Two-phased constructor.
+     * 
+     * @param aParam The phone number to video call
+     * @param aContactLinkArray Streamed contact link array of contact to be communicated at
+     */
+    static CCCAContactorVideocallOperation* NewL(const TDesC& aParam,
+            const TDesC8& aContactLinkArray);
+
+    /**
+     * Two-phased constructor.
+     * 
+     * @param aParam The phone number to video call
+     * @param aContactLinkArray Streamed contact link array of contact to be communicated at
+     */
+    static CCCAContactorVideocallOperation* NewLC(const TDesC& aParam,
+            const TDesC8& aContactLinkArray);
+    
+    /**
+     * Executes the operation (makes the video call)
+     */
+    virtual void ExecuteLD();
+
+private:
+
+    /**
+     * Constructor for performing 1st stage construction
+     * 
+     * @param aParam The phone number to video call
+     * @param aContactLinkArray Streamed contact link array of contact to be communicated at
+     */
+    CCCAContactorVideocallOperation(const TDesC& aParam, const TDesC8& aContactLinkArray);
+
+    /**
+     * EPOC default constructor for performing 2nd stage construction
+     */
+    void ConstructL();
+    
+    //Doesnt Own : Streamed contact link array of contact
+    const TDesC8& iContactLinkArray;
+
+    };
+
+#endif // CCACONTACTORVIDEOCALLOPERATION_H
+// End of File