wlanutilities/wlansniffer/aiplugin/inc/wsfaiplugincontentmodel.h
branchRCL_3
changeset 54 63be7eb3fc78
parent 52 b852595f5cbe
child 55 f28ada11abbf
equal deleted inserted replaced
52:b852595f5cbe 54:63be7eb3fc78
     1 /*
       
     2 * Copyright (c) 2007-2008 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:  Content enums
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef WSFAIPLUGINCONTENTMODEL_H
       
    20 #define WSFAIPLUGINCONTENTMODEL_H
       
    21 
       
    22 
       
    23 #include <aicontentmodel.h>
       
    24 
       
    25 #include "wsfaipluginuids.hrh"
       
    26 
       
    27 // Plug-in Implementation UID.
       
    28 const TInt KImplUidWlanWizardPlugin = 
       
    29                 AI_UID_ECOM_IMPLEMENTATION_CONTENTPUBLISHER_WIZARDPLUGIN;
       
    30 const TUid KUidWlanWizardPlugin = { KImplUidWlanWizardPlugin };
       
    31 
       
    32 
       
    33 // ================================= Content ================================
       
    34 
       
    35 /**
       
    36  * Content Ids
       
    37  */
       
    38 enum TWsfAiWizardContentIds
       
    39     {
       
    40      EAiWizardContentStatusIcon
       
    41     ,EAiWizardContentStrengthIcon   
       
    42     ,EAiWizardContentSecureIcon
       
    43     ,EAiWizardContentNetworkStatus
       
    44     ,EAiWizardContentNetworkName
       
    45     };
       
    46 
       
    47 /**
       
    48  * Content that the plugin will publish
       
    49  */
       
    50 const TAiContentItem KAiWizardContent[] =
       
    51     {
       
    52      { EAiWizardContentStatusIcon,    L"StatusIcon",   KAiContentTypeBitmap }
       
    53     ,{ EAiWizardContentStrengthIcon,  L"StrengthIcon", KAiContentTypeBitmap }
       
    54     ,{ EAiWizardContentSecureIcon,    L"SecureIcon",   KAiContentTypeBitmap }
       
    55     ,{ EAiWizardContentNetworkStatus, L"NetworkStatus",KAiContentTypeText }
       
    56     ,{ EAiWizardContentNetworkName,   L"NetworkName",  KAiContentTypeText }
       
    57     };
       
    58 
       
    59 // ============================ Events ==============================
       
    60 /**
       
    61  * Event Ids.
       
    62  */
       
    63 enum TWsfAiWizardEventIds
       
    64     {
       
    65      EAiWizardEventLaunchApplication,
       
    66      EAiWizardGainFocusInfoArea,
       
    67      EAiWizardLostFocusInfoArea,     
       
    68      EAiWizardOpenMenu
       
    69     };
       
    70 
       
    71 /**
       
    72  * Services that the plugin can perform
       
    73  */
       
    74 const TAiContentItem KAiWizardEvents[] =
       
    75     {
       
    76      { EAiWizardEventLaunchApplication,         L"LaunchApplication", "" }
       
    77     ,{ EAiWizardGainFocusInfoArea,              L"GainFocusInfoArea", "" }
       
    78     ,{ EAiWizardLostFocusInfoArea,              L"LostFocusInfoArea", "" }
       
    79     ,{ EAiWizardOpenMenu,                       L"OpenMenu", "" }
       
    80     };
       
    81 
       
    82 #endif // WSFAIPLUGINCONTENTMODEL_H