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