diff -r 7d48bed6ce0c -r 987c9837762f cbs/cbsui/UiInc/CCbsUiappAppUi.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cbs/cbsui/UiInc/CCbsUiappAppUi.h Wed Sep 01 12:15:03 2010 +0100 @@ -0,0 +1,96 @@ +/* +* Copyright (c) 2002 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: +* User Interface class. +* +* +*/ + + +#ifndef __CBSUIAPPAPPUI_H +#define __CBSUIAPPAPPUI_H + +// INCLUDES +#include // CAknViewAppUi + + +// FORWARD DECLARATIONS +class CCbsUiTopicListMonitor; +class MCbs; + +// CLASS DECLARATION + +/** +* It is the application user interface. Creates all the views and +* handles their activation. +*/ +class CCbsUiappAppUi : public CAknViewAppUi + { + + public: // Constructors and destructor + + /** + * C++ constructor. + */ + CCbsUiappAppUi(MCbs& aServer); + + /** + * Destructor. + */ + virtual ~CCbsUiappAppUi(); + + public: // From CEikAppUi + + /** + * Update context icon when parameter aType is KAknsMessageSkinChange + */ + void HandleResourceChangeL( TInt aType ); + + private: // From CEikAppUi + + /** + * Handles common commands. + * + * @param aCommand It is command to be processed. + */ + void HandleCommandL( TInt aCommand ); + + private: + + /** + * By default Symbian OS constructor is private. + */ + void ConstructL(); + + /** + * Checks the SIM status + * @return TInt, value of sim state + */ + TInt CheckSimStateL(); + + private: // Data + + // Ref: It is the connection to the server. + MCbs& iServer; + + // TopicListMonitor + CCbsUiTopicListMonitor* iTopicListMonitor; + + }; + + +#endif // __CBSUIAPP_H + + +// End of File