gssettingsuis/Gs/GSSecurityPlugin/Inc/GSSecurityPlugin.h
branchRCL_3
changeset 25 7e0eff37aedb
parent 0 8c5d936e5675
equal deleted inserted replaced
24:8ee96d21d9bf 25:7e0eff37aedb
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Container for the Security sub-folder
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSSECURITYPLUGIN_H
       
    20 #define GSSECURITYPLUGIN_H
       
    21 
       
    22 // Includes
       
    23 #include <aknview.h>
       
    24 #include <eikclb.h>
       
    25 #include <eikmenup.h>
       
    26 #include <gsparentplugin.h>
       
    27 #include <gsfwviewuids.h>
       
    28 
       
    29 // Classes referenced
       
    30 class CAknViewAppUi;
       
    31 class RConeResourceLoader;
       
    32 
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 * CGSSecurityPlugin view class.
       
    38 *
       
    39 * @since Series60_3.1
       
    40 */
       
    41 class CGSSecurityPlugin : public CGSParentPlugin
       
    42     {
       
    43     public: // Constructors and destructor
       
    44 
       
    45         /**
       
    46         * Symbian OS two-phased constructor
       
    47         * @return
       
    48         */
       
    49         static CGSSecurityPlugin* NewL( TAny* aInitParams );
       
    50 
       
    51         /**
       
    52         * Destructor.
       
    53         */
       
    54         ~CGSSecurityPlugin();
       
    55 
       
    56     public: // From CAknView
       
    57 
       
    58         /**
       
    59         * See base class.
       
    60         */
       
    61         TUid Id() const;
       
    62 
       
    63         /**
       
    64         * See base class.
       
    65         */
       
    66         void DoActivateL( const TVwsViewId& aPrevViewId,
       
    67                           TUid aCustomMessageId,
       
    68                           const TDesC8& aCustomMessage );
       
    69         /**
       
    70         * See base class.
       
    71         */
       
    72         void DoDeactivate();
       
    73 
       
    74     public: // From CGSParentPlugin
       
    75 
       
    76         /**
       
    77         * See base class.
       
    78         */
       
    79         TUid UpperLevelViewUid();
       
    80 
       
    81         /**
       
    82         * See base class.
       
    83         */
       
    84         TGSListboxTypes ListBoxType();
       
    85         
       
    86         /**
       
    87         * See base class.
       
    88         */
       
    89         void GetHelpContext( TCoeHelpContext& aContext );
       
    90 
       
    91     public: // From CGSPluginInterface
       
    92 
       
    93         /**
       
    94         * See base class.
       
    95         */
       
    96         void GetCaptionL( TDes& aCaption ) const;
       
    97 
       
    98         /**
       
    99         * See base class.
       
   100         */
       
   101         TInt PluginProviderCategory() const;
       
   102 
       
   103         /**
       
   104         * @see CGSPluginInterface header file.
       
   105         */
       
   106         CGulIcon* CreateIconL( const TUid aIconType );
       
   107         
       
   108     protected: // From MEikMenuObserver
       
   109 
       
   110         void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
       
   111 
       
   112     protected: // New
       
   113         /**
       
   114         * C++ default constructor.
       
   115         */
       
   116         CGSSecurityPlugin();
       
   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 //GSSECURITYPLUGIN_H
       
   131 
       
   132 // End of File