diff -r 000000000000 -r 2e3d3ce01487 systemsettings/GSAccessoryPlugin/inc/gsacctextphoneview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/systemsettings/GSAccessoryPlugin/inc/gsacctextphoneview.h Tue Feb 02 10:12:00 2010 +0200 @@ -0,0 +1,87 @@ +/* +* Copyright (c) 2005-2008 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: Declaration of CGSAccTextPhoneView class +* +*/ + + +#ifndef GSACCTEXTPHONEVIEW_H +#define GSACCTEXTPHONEVIEW_H + +#include "gsaccbaseview.h" + +/** +* CGSAccTextPhoneView view class +* +* View class for Text phone sub-folder +*/ +class CGSAccTextPhoneView : public CGSAccBaseView + { + +public: // Constructors and destructor + + /** + * Constructs a CGSAccTextPhoneView object. + * + * @param aModel Data model for reading and writing settings. + * @return The new object + */ + static CGSAccTextPhoneView* NewLC( CGSAccessoryPluginModel& aModel ); + + /** + * Destructor. + */ + virtual ~CGSAccTextPhoneView(); + +private: // From CGSAccBaseView + + /** + * @see class CGSAccBaseView. + */ + void HandleCommandL( TInt aCommand ); + + /** + * @see class CGSAccBaseView. + */ + void NewContainerL(); + + /** + * @see class CGSAccBaseView. + */ + void HandleListBoxSelectionL( TInt aSelectedItem ); + +private: // From CAknView + + /** + * @see class CAknView. + */ + TUid Id() const; + +private: + + /** + * First phase constructor. + * + * @param aModel Data model for reading and writing settings. + */ + CGSAccTextPhoneView( CGSAccessoryPluginModel& aModel ); + + /** + * Second phase constructor. + */ + void ConstructL(); + + }; + +#endif // GSACCTEXTPHONEVIEW_H