voicerecorder/AppSrc/CVRSettingItem.cpp
branchRCL_3
changeset 20 072a5fa0c63b
parent 19 2f5c9ee7098c
child 21 c6bafb5162d8
equal deleted inserted replaced
19:2f5c9ee7098c 20:072a5fa0c63b
     1 /*
       
     2 * Copyright (c) 2003, 2004 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:  Setting item for default image/video name
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "CVRSettingItem.h"
       
    21 #include <aknViewAppUi.h>
       
    22 
       
    23 // ========================= MEMBER FUNCTIONS ================================
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 // CCVRSettingItem::CCVRSettingItem
       
    27 // C++ constructor
       
    28 // ---------------------------------------------------------------------------
       
    29 //
       
    30 CCVRSettingItem::CCVRSettingItem( TInt aIdentifier,TDes& aText )
       
    31 : CAknTextSettingItem( aIdentifier, aText )
       
    32     {
       
    33     }
       
    34 
       
    35 
       
    36 // Destructor
       
    37 CCVRSettingItem::~CCVRSettingItem()
       
    38     {
       
    39     }
       
    40 
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // CCVRSettingItem::EditItemL
       
    44 // This launches the setting page for text editing. Overridden here
       
    45 // to use CCVRSettingPage instead of CAknTextSettingPage.
       
    46 // ---------------------------------------------------------------------------
       
    47 //
       
    48 void CCVRSettingItem::EditItemL( TBool /* aCalledFromMenu */ )
       
    49     {
       
    50     }
       
    51 
       
    52 
       
    53 	/**
       
    54 	*  Access for re-implementors to the internal text 
       
    55 	*
       
    56 	* @return	reference to a TPtr holding the internal text
       
    57 	*/
       
    58 	 TPtr& CCVRSettingItem::InternalTextPtr()
       
    59 	 	{
       
    60 	 	  return CAknTextSettingItem::InternalTextPtr();
       
    61 	 	}
       
    62 
       
    63 	/**
       
    64 	*  Access for re-implementors to the external text
       
    65 	*
       
    66 	* @return	TPtrC pointing to the external text
       
    67 	*/
       
    68 	TPtrC CCVRSettingItem::ExternalText()
       
    69 		{
       
    70 			return CAknTextSettingItem::ExternalText();
       
    71 		}
       
    72 
       
    73 	/**
       
    74 	* Allows re-implementors to set the external text
       
    75 	* No change of ownership is implied.
       
    76 	*
       
    77 	* @param	 a reference to the external text
       
    78 	*
       
    79 	*/
       
    80 	void CCVRSettingItem:: SetExternalText( TDesC& aNewExternalText )
       
    81 		{
       
    82 			CAknTextSettingItem::SetExternalText(aNewExternalText);
       
    83 		}
       
    84 
       
    85 
       
    86 
       
    87 // End of File