phonebookui/Phonebook/inc/PbkProfiling.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *     Phonebook profiling bin allocation.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __PbkProfiling_H__
       
    21 #define __PbkProfiling_H__
       
    22 
       
    23 namespace PbkProfiling
       
    24     {
       
    25 
       
    26     // CONSTANTS
       
    27     enum TPbkProfilingBin
       
    28         {
       
    29         EFullStartup                        =  1,
       
    30         // Following bins are in sequential order and there is no overlapping
       
    31         EBeforeAppUiConstruction            =  2, // before CPbkAppUi::ConstructL gets called
       
    32         EAppUiConstruction                  =  3, // CPbkAppUi::ConstructL
       
    33         EStartupViewActivation              =  4, // from CPbkAppUi::ConstructL ==> CPbkStartupView::DoActivateL
       
    34         EStartupViewDoActivateL             =  5, 
       
    35         EExtensionStartup                   =  6, // from CPbkStartupView::DoActivateL ==> CPbkStartupView::HandleStartupComplete
       
    36         EHandleStartupComplete              =  7, // CPbkStartupView::HandleStartupComplete
       
    37         ENamesListViewActivation            =  8, // from CPbkStartupView::HandleStartupComplete ==> CPbkNamesListView::DoActivateL
       
    38         ENamesListViewDoActivateL           =  9,
       
    39         ENamesListContactViewOpen           = 10, // from CPbkNamesListView::DoActivateL ==> CPbkNamesListAppView::HandleContactViewListControlEventL
       
    40         // end sequential ordering here
       
    41         
       
    42         // EAppUiConstruction split in several parts
       
    43         EInitFeatureManager                 = 11,
       
    44         EAppUiBaseConstruct                 = 12,
       
    45         EEngineConstruction                 = 13,
       
    46         EAppUiExtensionConstruction         = 14,
       
    47         EViewNaviConstruct                  = 15,
       
    48         ESendUiConstruction                 = 16,
       
    49         EAppUiOtherMemberConstruction       = 17,
       
    50         EViewConstruction                   = 18,
       
    51 
       
    52         // ENamesListViewDoActivateL split in several parts
       
    53         ENamesListViewLoadTitle             = 19,
       
    54         ENameListViewActivationTransaction  = 20,
       
    55         ENamesListViewCheckParameters       = 21,
       
    56         ENamesListViewOpenContactsView      = 22,
       
    57         ENamesListViewContainerConstruct    = 23,
       
    58         ENamesListViewActivateControl       = 24,
       
    59 
       
    60         // ENamesListViewContainerConstruct split in several parts
       
    61         ENamesListViewCreateContainer       = 25,
       
    62         ENamesListViewCreateExtension       = 26,
       
    63         ENamesListViewCreateControl         = 27,
       
    64 
       
    65         // EAppUiExtensionConstruction split in several parts
       
    66         EAppUiExtGlobalInstance             = 28,
       
    67         EPbkExtGlobalsScannerConstruct      = 29,
       
    68         EExtensionScan                      = 30,
       
    69         EMultiFactoryConstruct              = 31,
       
    70         EPbkExtMultiAppUiConstruct          = 32,
       
    71         EPbkExtCreatePbkAppUiExtensionL     = 33,
       
    72         EPbkExtAppendAppUiExtension         = 34,
       
    73 
       
    74         // EExtensionScan split in several parts
       
    75         EEComUiExtensionScanPrepare         = 35,
       
    76         EEComUiExtensionScan                = 36,
       
    77         EEComUiExtensionLoadPrepare         = 37,
       
    78         EEComUiExtensionLoadAndInit         = 38,
       
    79         EPolymorphicUiExtensionLoadPrepare  = 39,
       
    80         EPolymorphicUiExtensionLoad         = 40,        
       
    81         EPolymorphicUiExtensionEntryLookup  = 41,
       
    82         EPolymorphicUiExtensionInit         = 42,
       
    83         
       
    84         // EViewConstruction split in several parts
       
    85         EAddView                            = 43,
       
    86         EViewBaseConstruct                  = 44,
       
    87         EViewAiwAttach                      = 45,
       
    88 
       
    89         EPolymorphicUiExtensionScan         /*= 46 */, // this is actually included in EPbkExtGlobalsScannerConstruct
       
    90         EEcomEngineExtensionScan            /*= 47 */,
       
    91         EEcomEngineExtensionLoadAndInit     /*= 48 */,
       
    92         EInitEngineResources                /*= 49 */,
       
    93         EContactDbOpen                      /*= 50 */,
       
    94         EAllContactsViewOpen                /*= 51 */,
       
    95         EContactsMatchingCriteria           /*= 52 */,
       
    96         EFilteredViewOpen                   /*= 53 */,
       
    97         KEndProfileBins
       
    98         };
       
    99 
       
   100     }  // namespace PbkProfiling
       
   101 
       
   102 #endif // __PbkProfiling_H__
       
   103 
       
   104 // End of File