classicui_plat/extended_notifiers_api/inc/AknNotifierControllerUtilities.h
changeset 0 2f259fa3e83a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/classicui_plat/extended_notifiers_api/inc/AknNotifierControllerUtilities.h	Tue Feb 02 01:00:49 2010 +0200
@@ -0,0 +1,52 @@
+/*
+* 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