messagingappbase/msgavkon/muiu_internal/servicesinternal/inc/MuiuCallCmd.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002 - 2005 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 *      Call command object.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __MuiuCallCmd_H__
       
    22 #define __MuiuCallCmd_H__
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32base.h>                             
       
    26 #include <aiwdialdataext.h>      // KMaximumNameLength
       
    27 
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * Start dialing and show calling dialog.
       
    33 * 
       
    34 */
       
    35 class CMuiuCallCmd : public CBase
       
    36     {
       
    37     public: // Interface
       
    38         /**
       
    39         * Factory method that creates this object.
       
    40         * @return CMuiuCallCmd pointer
       
    41         */
       
    42         static CMuiuCallCmd* NewL();
       
    43 
       
    44         /**
       
    45         * Destructor.
       
    46         */
       
    47         ~CMuiuCallCmd();
       
    48 
       
    49     public:
       
    50         /**
       
    51         * Start dialing and show calling dialog
       
    52         * @param aNumber:   Number part of prompt
       
    53         * @param aName:	    Name part of prompt
       
    54         * @param aCallTypeVoIP: If this parameter is true the call type is VoIP 
       
    55         * otherwise call type is normal cellular call.
       
    56         */
       
    57         void ExecuteLD( const TDesC& aNumber, const TDesC& aName, TBool aCallTypeVoIP = EFalse );
       
    58     private:
       
    59         /**
       
    60         * Constructor.
       
    61         */
       
    62         CMuiuCallCmd ();
       
    63 
       
    64         /**
       
    65         * Symbian OS default constructor can leave.
       
    66         */
       
    67         void ConstructL();
       
    68     private:    // Data
       
    69         // Own: telephone number and namebuffer(member variables to save stack space)
       
    70         TBuf< AIWDialDataExt::KMaximumPhoneNumberLength > iTelNumber;
       
    71         TBuf< AIWDialDataExt::KMaximumNameLength > iNameBuffer;
       
    72     };
       
    73 #endif // __MuiuCallCmd_H__
       
    74 
       
    75 // End of File