mpxplugins/viewplugins/views/waitnotedialog/inc/mpxformatdialog.h
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Wait note dialog for formatting
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MPXFORMATTINGDIALOG_H
       
    20 #define C_MPXFORMATTINGDIALOG_H
       
    21 
       
    22 #include "mpxwaitnotedialog.h"
       
    23 
       
    24 /**
       
    25  *  Wait note class for the formatting cases
       
    26  *
       
    27  *  Blocking dialog shown during formatting
       
    28  *
       
    29  *  @lib mpxwaitnotedialog.dll
       
    30  *  @since S60 3.1
       
    31  */
       
    32 NONSHARABLE_CLASS( CMPXFormattingWaitDialog ) : public CMPXWaitNoteDialog                              
       
    33     {
       
    34 
       
    35 public:
       
    36 
       
    37     /**
       
    38     * Two-phased constructor
       
    39     */
       
    40     static CMPXFormattingWaitDialog* NewL( MMPXWaitNoteObserver* aObs );
       
    41 
       
    42     /**
       
    43     * Virtual destructor
       
    44     */
       
    45     virtual ~CMPXFormattingWaitDialog();
       
    46 
       
    47 protected:
       
    48     
       
    49     /**
       
    50     * From CMPXWaitNoteDialog
       
    51     * Initialize the note before executing
       
    52     * The inherited class should set CBA, text, icons etc here
       
    53     */
       
    54     void PreNoteDisplayHandleL();
       
    55 
       
    56     /**
       
    57     * From MMPXCollectionObserver
       
    58     */
       
    59     void HandleCollectionMessage(
       
    60             CMPXMessage* aMessage, TInt aError );
       
    61   
       
    62 private:
       
    63     
       
    64     /**
       
    65     * Handles the collection message
       
    66     * @param aMessage message to handle
       
    67     * @param aError error code
       
    68     */
       
    69     void DoHandleCollectionMessageL(
       
    70              const CMPXMessage& aMessage, TInt aError );
       
    71                
       
    72 private:
       
    73 
       
    74     /**
       
    75     * Private constructor
       
    76     */
       
    77     CMPXFormattingWaitDialog( MMPXWaitNoteObserver* aObs );
       
    78 
       
    79     /**
       
    80     * Second phased constructor
       
    81     */
       
    82     void ConstructL();
       
    83 
       
    84 private: // data
       
    85     
       
    86     };
       
    87 
       
    88 #endif // C_MPXFORMATTINGDIALOG_H