phoneapp/phoneuiutils/inc/tphonecmdparamstring.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 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 *   See class description.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef __TPHONECMDPARAMSTRING_H
       
    20 #define __TPHONECMDPARAMSTRING_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "tphonecommandparam.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 *  A concrete parameter class for one TDesC value.
       
    29 *  
       
    30 */
       
    31 class TPhoneCmdParamString : public TPhoneUICommandParam
       
    32     {
       
    33     public:  
       
    34         
       
    35         /**
       
    36         * C++ default constructor.
       
    37         */
       
    38         IMPORT_C TPhoneCmdParamString();
       
    39 
       
    40     public: 
       
    41         
       
    42         /**
       
    43         * Sets the string value
       
    44         * @param aString is string value
       
    45         */
       
    46         IMPORT_C void SetString( TPtr* aString );
       
    47 
       
    48         /**
       
    49         * Returns the string.
       
    50         * @return Returns the carried string
       
    51         */
       
    52         IMPORT_C TPtr* String();
       
    53 
       
    54     private:   
       
    55 
       
    56         /**
       
    57         * The string
       
    58         */
       
    59         TPtr* iString;
       
    60     };
       
    61 
       
    62 #endif      // __TPHONECMDPARAMSTRING_H   
       
    63             
       
    64 // End of File