commonuisupport/uikon/srvinc/eiknotifyalert.h
changeset 0 2f259fa3e83a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commonuisupport/uikon/srvinc/eiknotifyalert.h	Tue Feb 02 01:00:49 2010 +0200
@@ -0,0 +1,94 @@
+// Copyright (c) 1997-2009 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:
+// Standard factory definitions
+// 
+//
+/** 	  	 
+@file 	  	 
+@publishedPartner 	  	 
+@released 	  	 
+*/
+
+#ifndef EIKNOTIFYALERT_H
+#define EIKNOTIFYALERT_H
+
+#include <e32base.h>
+
+// Classes referenced
+class TASShdAlarm;
+class CEikAlmControlSupervisor;
+class MEikSrvNotifierBase2;
+
+class MEikNotifyAlertCompletionObserver
+	{
+public:
+	virtual void HandleAlertCompletion(const TInt aButtonVal)=0;
+protected:
+	IMPORT_C MEikNotifyAlertCompletionObserver();
+private:
+	IMPORT_C virtual void MEikNotifyAlertCompletionObserver_Reserved1();
+	IMPORT_C virtual void MEikNotifyAlertCompletionObserver_Reserved2();
+private:
+	TInt iMEikNotifyAlertCompletionObserver_Reserved1;
+	};
+
+class MEikServNotifyAlert
+	{
+public:
+	virtual void Release()=0;
+	virtual void DisplayNotifier(const TDesC& aTitle,const TDesC& aLabel,const TDesC& aBut1,const TDesC& aBut2, MEikNotifyAlertCompletionObserver* aObserver)=0;
+protected:
+	IMPORT_C MEikServNotifyAlert();
+private:
+	IMPORT_C virtual void MEikServNotifyAlert_Reserved1();
+	IMPORT_C virtual void MEikServNotifyAlert_Reserved2();
+private:
+	TInt iMEikServNotifyAlert_Reserved1;
+	};
+
+class MEikServAlarm
+	{
+public:
+	virtual void Release()=0;
+	virtual void ShowAlarm()=0;
+	virtual void HideAlarm()=0;
+	virtual TInt CurrentServerState() const=0;
+	virtual void UpdateSoundPauseTimeInterval(TInt aMinutes)=0;
+	virtual void UpdateForAlarmServerState(TInt aNewAlarmServerState)=0;
+	virtual void UpdateAlarmInfo(const TASShdAlarm& aAlarm,const TFullName& aOwner)=0;
+	virtual void StartPlayAlarmL(const TDesC& aAlarmName)=0;
+	virtual void StopPlayAlarm()=0;
+protected:
+	IMPORT_C MEikServAlarm();
+private:
+	IMPORT_C virtual void MEikServAlarm_Reserved1();
+	IMPORT_C virtual void MEikServAlarm_Reserved2();
+private:
+	TInt iMEikServAlarm_Reserved1;
+	};
+
+class MEikServAlarmFactory
+	{
+	public:
+		virtual MEikServAlarm* NewAlarmL(CEikAlmControlSupervisor& aSupervisor)=0;
+protected:
+	IMPORT_C MEikServAlarmFactory();
+private:
+	IMPORT_C virtual void MEikServAlarmFactory_Reserved1();
+	IMPORT_C virtual void MEikServAlarmFactory_Reserved2();
+private:
+	TInt iMEikServAlarmFactory_Reserved1;
+	};
+
+#endif	// EIKNOTIFYALERT_H