diff -r 051d34a3f367 -r 2c9d3aa5bea2 gssettingsuis/Gs/GSPDataConnectionPlugin/inc/GSPDataConnectionModel.h --- a/gssettingsuis/Gs/GSPDataConnectionPlugin/inc/GSPDataConnectionModel.h Mon Jan 18 20:31:08 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,104 +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: GSPDataConnectionPlugin model. -* -*/ - -#ifndef GSPDATACONNECTIONMODEL_H -#define GSPDATACONNECTIONMODEL_H - -// INCLUDES -// INCLUDES -#include -#include -#include -#include -#include - -// CONSTANTS - -const TInt KAttachSettingWhenNeeded = 1; -const TInt KAttachSettingWhenAvailable = 0; - - -// CLASS DEFINITIONS - -class CRfsHandler; -class CCommsDatabase; -class CCommsDbTableView; - - -/** -* CGSPDataConnectionModel is the model class of GS app. -* It provides functions to get and set setting values. -*/ -class CGSPDataConnectionModel : public CBase - { - public: // Constructor and destructor - /** - * Two-phased constructor - */ - static CGSPDataConnectionModel* NewL(); - - /** - * Destructor - */ - ~CGSPDataConnectionModel(); - - public: //new - - /** - * Gets AI state. - */ - TInt PDataAttachL(); - - /** - * Sets AI state. - */ - void SetPDataAttachL( const TInt aAttach ); - - - private: // Private constructors - /** - * Default C++ contructor - */ - CGSPDataConnectionModel(); - - /** - * Symbian OS default constructor - * @return void - */ - void ConstructL(); - - private: // Data - - // Flag to indicate whether the feature KFeatureIdLoggerGprs is supported - TBool iIsFeatureIdLoggerGprs; - - // Handle to Comms database. - CCommsDatabase* iCommsDb; - - // Handle to packet service. - RPacketService iPktService; - - // Handle to phone. - RPhone iPhone; - - // Handle to tel server. - RTelServer iTelServer; - - }; -#endif // GSPDATACONNECTIONMODEL_H - -// End of File