diff -r 3f8368f032cf -r e3554c9069b6 gssettingsuis/Gs/GSPDataHSDPAPlugin/inc/GSPDataHSDPAModel.h --- a/gssettingsuis/Gs/GSPDataHSDPAPlugin/inc/GSPDataHSDPAModel.h Tue Feb 02 00:22:03 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,113 +0,0 @@ -/* -* Copyright (c) 2007 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: GSPDataHSDPAPlugin model. -* -*/ - -#ifndef GSPDATAHSDPAMODEL_H -#define GSPDATAHSDPAMODEL_H - -// INCLUDES -// INCLUDES -#include -#include -#include -#include -#include -#include -// CONSTANTS - -const TInt KSettingHsdpaDisable = 0; -const TInt KSettingHsdpaEnable = 1; - - -// CLASS DEFINITIONS - -class CRfsHandler; -class RMmCustomAPI; -class RMobilePhone; -/** -* CGSPDataHSDPAModel is the model class of GS app. -* It provides functions to get and set setting values. -*/ -class CGSPDataHSDPAModel : public CBase - { - public: // Constructor and destructor - /** - * Two-phased constructor - */ - static CGSPDataHSDPAModel* NewL(); - - /** - * Destructor - */ - ~CGSPDataHSDPAModel(); - - public: //new - /** - * Returns packet data HSDPA state. - * @return 0: Disabled - * 1: Enabled - */ - TInt CurrentHSDPAItemL(); - - /** - * Set packet data HSDPA state. - * @param ahsdpaValue 0: Disabled - * 1: Enabled - */ - void SetHSDPAItemValueL( TInt aHsdpaValue ); - - /** - * Returns packet data HSDPA state. - * @return 1: Show - * 0 : Hide - */ - TInt HSDPAItemVisibilityL(); - - /** - * Set packet data HSDPA Visibility. - * @param aHsdpaVisible 0: Hide - * 1: Show - */ - void SetHSDPAItemVisibilityL( TInt aHsdpaVisible ); - - private: // Private constructors - /** - * Default C++ contructor - */ - CGSPDataHSDPAModel(); - - /** - * Symbian OS default constructor - * @return void - */ - void ConstructL(); - - private: // Data - // Handle to tel server. - RTelServer iTelServer; - - //Handle to Custom API - RMmCustomAPI iCustomAPI; - - // Handle to Mobile phone. - RMobilePhone iMobilePhone ; - - // Networking repository - CRepository* iNetworkRepository; - - }; -#endif // GSPDATAHSDPAMODEL_H -// End of File