classicui_plat/extended_notifiers_api/inc/AknNotifierControllerUtilities.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2004-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:  
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __AKNNOTIFIERCONTROLLERUTILITIES__
       
    19 #define __AKNNOTIFIERCONTROLLERUTILITIES__
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 const TInt KDoNotifierControllerCommand(0xFFFF); // to avoid lapping with opcodes below
       
    24 
       
    25 class CAknNotifierControllerUtility: public CBase
       
    26     {
       
    27 public: 
       
    28     enum TNotifierControllerCommand
       
    29         {
       
    30         EDoAllow,
       
    31         EDoStop,
       
    32         DoCancelAll 
       
    33         };
       
    34 
       
    35     CAknNotifierControllerUtility(TInt aOrdinalPosition):
       
    36         iMyOrdinalPosition(aOrdinalPosition){}
       
    37 public: 
       
    38     IMPORT_C void DoAllowNotifications();
       
    39     IMPORT_C void DoStopNotifications();
       
    40     IMPORT_C void DoCancelAllNotificatonsL();
       
    41     
       
    42 public: // for internal use
       
    43     void DoNotifierContollerCommandL(TNotifierControllerCommand aCommand);
       
    44             
       
    45 private:
       
    46     TInt iSpare1;
       
    47     TInt iMyOrdinalPosition;
       
    48     };
       
    49     
       
    50 #endif // __AKNNOTIFIERCONTROLLERUTILITIES__
       
    51 
       
    52 // End of file