classicui_plat/extended_notifiers_api/inc/AknNotifierControllerUtilities.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:28:30 +0300
branchRCL_3
changeset 55 aecbbf00d063
parent 0 2f259fa3e83a
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  
*
*/

#ifndef __AKNNOTIFIERCONTROLLERUTILITIES__
#define __AKNNOTIFIERCONTROLLERUTILITIES__

#include <e32base.h>

const TInt KDoNotifierControllerCommand(0xFFFF); // to avoid lapping with opcodes below

class CAknNotifierControllerUtility: public CBase
    {
public: 
    enum TNotifierControllerCommand
        {
        EDoAllow,
        EDoStop,
        DoCancelAll 
        };

    CAknNotifierControllerUtility(TInt aOrdinalPosition):
        iMyOrdinalPosition(aOrdinalPosition){}
public: 
    IMPORT_C void DoAllowNotifications();
    IMPORT_C void DoStopNotifications();
    IMPORT_C void DoCancelAllNotificatonsL();
    
public: // for internal use
    void DoNotifierContollerCommandL(TNotifierControllerCommand aCommand);
            
private:
    TInt iSpare1;
    TInt iMyOrdinalPosition;
    };
    
#endif // __AKNNOTIFIERCONTROLLERUTILITIES__

// End of file