phonebookui/Phonebook2/inc/Pbk2ProcessDecoratorFactory.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Phonebook 2 process decorator factory.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PBK2PROCESSDECORATORFACTORY_H
       
    20 #define PBK2PROCESSDECORATORFACTORY_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class MPbk2ProcessDecorator;
       
    27 
       
    28 /**
       
    29  * Phonebook 2 process decorator factory.
       
    30  */
       
    31 class Pbk2ProcessDecoratorFactory
       
    32     {
       
    33     public: // Factory interface
       
    34 
       
    35         /**
       
    36          * Creates and returns a progress dialog process decorator.
       
    37          *
       
    38          * @param aResourceId       Dialog resource id.
       
    39          * @param aVisibilityDelay  ETrue if the delay is used,
       
    40          *                          EFalse otherwise.
       
    41          * @return  A progress dialog process decorator.
       
    42          */
       
    43         IMPORT_C static MPbk2ProcessDecorator* CreateProgressDialogDecoratorL(
       
    44                 TInt aResourceId,
       
    45                 TBool aVisibilityDelay );
       
    46 
       
    47         /**
       
    48          * Creates and returns a wait note process decorator.
       
    49          *
       
    50          * @param aResourceId       Dialog resource id.
       
    51          * @param aVisibilityDelay  ETrue if the delay is used,
       
    52          *                          EFalse otherwise.
       
    53          * @return  A wait note process decorator.
       
    54          */
       
    55         IMPORT_C static MPbk2ProcessDecorator* CreateWaitNoteDecoratorL(
       
    56                 TInt aResourceId,
       
    57                 TBool aVisibilityDelay );
       
    58     };
       
    59 
       
    60 #endif // PBK2PROCESSDECORATORFACTORY_H
       
    61 
       
    62 // End of File