emailservices/emailserver/inc/FsEmailGlobalDialogsAppUi.h
changeset 0 8466d47a6819
child 10 f5907b1a1053
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 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:  Declaration of FSMailServer global dialogs app ui
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_FSEMAILGLOBALDIALOGSAPPUI_H
       
    20 #define C_FSEMAILGLOBALDIALOGSAPPUI_H
       
    21 
       
    22 #include <aknappui.h>
       
    23 
       
    24 class CFSNotificationHandlerMgr;
       
    25 class CEmailServerShutdownObserver;
       
    26 
       
    27 /**
       
    28  *  Application UI class for FSMailServer.
       
    29  *  Needed to be able to show Avkon dialogs from FSMailServer.
       
    30  */
       
    31 class CFsEmailGlobalDialogsAppUi : public CAknAppUi
       
    32     {
       
    33 public:
       
    34     CFsEmailGlobalDialogsAppUi();
       
    35     ~CFsEmailGlobalDialogsAppUi();
       
    36     void ConstructL();
       
    37     
       
    38     void SendToBackground();
       
    39     void BringToForeground();
       
    40 
       
    41 public:    // From base class CAknAppUi
       
    42     void Exit();
       
    43 
       
    44 private:
       
    45 
       
    46 #ifdef _DEBUG
       
    47     void EnsureDebugDirExists();
       
    48 #endif
       
    49     
       
    50 private:
       
    51 
       
    52     /**
       
    53      * Notification handler manager.
       
    54      * Own.
       
    55      */
       
    56     CFSNotificationHandlerMgr* iNotificationHandlerMgr;
       
    57 
       
    58     /**
       
    59      * Shutdown watcher.
       
    60      * Own.
       
    61      */
       
    62     CEmailServerShutdownObserver* iShutdownObserver;
       
    63     };
       
    64 
       
    65 
       
    66 #endif // C_FSEMAILGLOBALDIALOGSAPPUI_H
       
    67 
       
    68 // End of File