gssettingsuis/Gs/GSAdminPlugin/inc/GSAdminPlugin.h
branchRCL_3
changeset 24 8ee96d21d9bf
parent 23 8bda91a87a00
child 25 7e0eff37aedb
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    Header file for plugin.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSADMINPLUGIN_H
       
    20 #define GSADMINPLUGIN_H
       
    21 
       
    22 // Includes
       
    23 #include <gsparentplugin.h>
       
    24 #include <gsfwviewuids.h>
       
    25 
       
    26 #include <aknview.h>
       
    27 #include <eikclb.h>
       
    28 
       
    29 
       
    30 // Classes referenced
       
    31 class CAknViewAppUi;
       
    32 class RConeResourceLoader;
       
    33 
       
    34 // Constants
       
    35 _LIT( KGSAdminPluginResourceFileName, "z:GSAdminPluginRsc.rsc" );
       
    36 _LIT( KGSAdminPluginIconDirAndName, "z:gsadminplugin.mbm"); // Use KDC_BITMAP_DIR
       
    37 
       
    38 // CLASS DECLARATION
       
    39 
       
    40 /**
       
    41 * CGSAdminPlugin view class.
       
    42 *
       
    43 * @since Series60_3.1
       
    44 */
       
    45 class CGSAdminPlugin : public CGSParentPlugin
       
    46     {
       
    47     public: // Constructors and destructor
       
    48 
       
    49         /**
       
    50         * Symbian OS two-phased constructor
       
    51         * @return
       
    52         */
       
    53         static CGSAdminPlugin* NewL( TAny* aInitParams );
       
    54 
       
    55         /**
       
    56         * Destructor.
       
    57         */
       
    58         ~CGSAdminPlugin();
       
    59 
       
    60     public: // From CAknView
       
    61 
       
    62         /**
       
    63         * See base class.
       
    64         */
       
    65         TUid Id() const;
       
    66 
       
    67         /**
       
    68         * See base class.
       
    69         */
       
    70         void DoActivateL( const TVwsViewId& aPrevViewId,
       
    71                           TUid aCustomMessageId,
       
    72                           const TDesC8& aCustomMessage );
       
    73         /**
       
    74         * See base class.
       
    75         */
       
    76         void DoDeactivate();
       
    77 
       
    78     public: // From CGSParentPlugin
       
    79 
       
    80         /**
       
    81         * See base class.
       
    82         */
       
    83         TUid UpperLevelViewUid();
       
    84 
       
    85         /**
       
    86         * See base class.
       
    87         */
       
    88         TGSListboxTypes ListBoxType();
       
    89         
       
    90         /**
       
    91         * See base class.
       
    92         */
       
    93         void GetHelpContext( TCoeHelpContext& aContext );
       
    94 
       
    95     public: // From CGSPluginInterface
       
    96 
       
    97         /**
       
    98         * See base class.
       
    99         */
       
   100         void GetCaptionL( TDes& aCaption ) const;
       
   101 
       
   102         /**
       
   103         * See base class.
       
   104         */
       
   105         CGulIcon* CreateIconL( const TUid aIconType );
       
   106 
       
   107         /**
       
   108         * See base class.
       
   109         */
       
   110         TInt PluginProviderCategory() const;
       
   111 
       
   112     protected: // New
       
   113         /**
       
   114         * C++ default constructor.
       
   115         */
       
   116         CGSAdminPlugin();
       
   117 
       
   118         /**
       
   119         * Symbian OS default constructor.
       
   120         */
       
   121         void ConstructL();
       
   122 
       
   123     private: // Data
       
   124 
       
   125         // Resource loader.
       
   126         RConeResourceLoader iResourceLoader;
       
   127     };
       
   128 
       
   129 
       
   130 #endif // GSADMINPLUGIN_H
       
   131 // End of File