diff -r 1a6714c53019 -r cce62ebc198e fmradio/fmradio/inc/fmradiopreset.h --- a/fmradio/fmradio/inc/fmradiopreset.h Thu Aug 19 09:55:21 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,111 +0,0 @@ -/* -* Copyright (c) 2009 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: fmradio preset station information -* -*/ - -#ifndef CMFRADIOPRESET_H -#define CMFRADIOPRESET_H - -// INCLUDES -#include - -// FORWARD DECLARATIONS - -// CONSTANTS - -/** - * fmradio preset station information - */ -class CFMRadioPreset : public CBase - { - - public: - /** - * Two-phased constructor. - */ - static CFMRadioPreset* NewL(); - /** - * Destructor. - */ - virtual ~CFMRadioPreset(); - - public: // New functions - /* - * Set name for the preset - * @param aName new name for the preset - */ - void SetPresetNameL( const TDesC& aName ); - /* - * Returns preset name - * @return name - */ - const TDesC& PresetName(); - /* - * Set of the preset valid - * @param aValid ETrue is the name is set valid - */ - void SetPresetNameValid( TBool aValid ); - /* - * Returns the validity of the preset name - * @return ETrue if the name is valid, otherwise EFalse - */ - TBool PresetNameValid(); - /* - * Set frequency for the preset - * @param aFrequency frequency to set - */ - void SetPresetFrequency( TInt aFrequency ); - /* - * Returns preset frequency - * @return frequency - */ - TInt PresetFrequency(); - - /* - * set station web url - * @param aUrl url to set - */ - void SetPresetUrlL( const TDesC& aUrl ); - - /* - * Gets station web url - * @return url - */ - const TDesC& PresetUrl(); - - private: - /** - * C++ default constructor. - */ - CFMRadioPreset(); - /** - * EPOC default constructor. - */ - void ConstructL(); - - private: // data - // station name - RBuf iStationName; - // station frequency - TInt iStationFrequency; - // Validity of the station name - TBool iNameIsValid; - // station web url - RBuf iStationUrl; - - }; - - -#endif // CMFRADIOPRESET_H