diff -r 8ee96d21d9bf -r 7e0eff37aedb gssettingsuis/Gs/GSAdminPlugin/inc/GSAdminPlugin.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gssettingsuis/Gs/GSAdminPlugin/inc/GSAdminPlugin.h Wed Sep 01 12:20:44 2010 +0100 @@ -0,0 +1,131 @@ +/* +* 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: Header file for plugin. +* +*/ + + +#ifndef GSADMINPLUGIN_H +#define GSADMINPLUGIN_H + +// Includes +#include +#include + +#include +#include + + +// Classes referenced +class CAknViewAppUi; +class RConeResourceLoader; + +// Constants +_LIT( KGSAdminPluginResourceFileName, "z:GSAdminPluginRsc.rsc" ); +_LIT( KGSAdminPluginIconDirAndName, "z:gsadminplugin.mbm"); // Use KDC_BITMAP_DIR + +// CLASS DECLARATION + +/** +* CGSAdminPlugin view class. +* +* @since Series60_3.1 +*/ +class CGSAdminPlugin : public CGSParentPlugin + { + public: // Constructors and destructor + + /** + * Symbian OS two-phased constructor + * @return + */ + static CGSAdminPlugin* NewL( TAny* aInitParams ); + + /** + * Destructor. + */ + ~CGSAdminPlugin(); + + public: // From CAknView + + /** + * See base class. + */ + TUid Id() const; + + /** + * See base class. + */ + void DoActivateL( const TVwsViewId& aPrevViewId, + TUid aCustomMessageId, + const TDesC8& aCustomMessage ); + /** + * See base class. + */ + void DoDeactivate(); + + public: // From CGSParentPlugin + + /** + * See base class. + */ + TUid UpperLevelViewUid(); + + /** + * See base class. + */ + TGSListboxTypes ListBoxType(); + + /** + * See base class. + */ + void GetHelpContext( TCoeHelpContext& aContext ); + + public: // From CGSPluginInterface + + /** + * See base class. + */ + void GetCaptionL( TDes& aCaption ) const; + + /** + * See base class. + */ + CGulIcon* CreateIconL( const TUid aIconType ); + + /** + * See base class. + */ + TInt PluginProviderCategory() const; + + protected: // New + /** + * C++ default constructor. + */ + CGSAdminPlugin(); + + /** + * Symbian OS default constructor. + */ + void ConstructL(); + + private: // Data + + // Resource loader. + RConeResourceLoader iResourceLoader; + }; + + +#endif // GSADMINPLUGIN_H +// End of File