phonebookui/Phonebook2/ccapplication/ccacontactorservice/inc/ccacontactorvideocalloperation.h
branchRCL_3
changeset 63 f4a778e096c2
child 64 c1e8ba0c2b16
equal deleted inserted replaced
62:5b6f26637ad3 63:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Class implementing the video call operation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CCACONTACTORVIDEOCALLOPERATION_H
       
    20 #define CCACONTACTORVIDEOCALLOPERATION_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 class CCCAContactorOperation;
       
    28 
       
    29 /**
       
    30  * Class implementing the video call operation
       
    31  *
       
    32  *  @code
       
    33  *   ?good_class_usage_example(s)
       
    34  *  @endcode
       
    35  *
       
    36  *  @lib
       
    37  *  @since S60 v5.0
       
    38  */
       
    39 NONSHARABLE_CLASS(CCCAContactorVideocallOperation) : public CCCAContactorOperation
       
    40     {
       
    41 public:
       
    42     // Constructors and destructor
       
    43 
       
    44     /**
       
    45      * Destructor.
       
    46      */
       
    47     ~CCCAContactorVideocallOperation();
       
    48 
       
    49     /**
       
    50      * Two-phased constructor.
       
    51      * 
       
    52      * @param aParam The phone number to video call
       
    53      * @param aContactLinkArray Streamed contact link array of contact to be communicated at
       
    54      */
       
    55     static CCCAContactorVideocallOperation* NewL(const TDesC& aParam,
       
    56             const TDesC8& aContactLinkArray);
       
    57 
       
    58     /**
       
    59      * Two-phased constructor.
       
    60      * 
       
    61      * @param aParam The phone number to video call
       
    62      * @param aContactLinkArray Streamed contact link array of contact to be communicated at
       
    63      */
       
    64     static CCCAContactorVideocallOperation* NewLC(const TDesC& aParam,
       
    65             const TDesC8& aContactLinkArray);
       
    66     
       
    67     /**
       
    68      * Executes the operation (makes the video call)
       
    69      */
       
    70     virtual void ExecuteLD();
       
    71 
       
    72 private:
       
    73 
       
    74     /**
       
    75      * Constructor for performing 1st stage construction
       
    76      * 
       
    77      * @param aParam The phone number to video call
       
    78      * @param aContactLinkArray Streamed contact link array of contact to be communicated at
       
    79      */
       
    80     CCCAContactorVideocallOperation(const TDesC& aParam, const TDesC8& aContactLinkArray);
       
    81 
       
    82     /**
       
    83      * EPOC default constructor for performing 2nd stage construction
       
    84      */
       
    85     void ConstructL();
       
    86     
       
    87     //Doesnt Own : Streamed contact link array of contact
       
    88     const TDesC8& iContactLinkArray;
       
    89 
       
    90     };
       
    91 
       
    92 #endif // CCACONTACTORVIDEOCALLOPERATION_H
       
    93 // End of File