commonuisupport/uikon/srvinc/eiknotifyalert.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Standard factory definitions
       
    15 // 
       
    16 //
       
    17 /** 	  	 
       
    18 @file 	  	 
       
    19 @publishedPartner 	  	 
       
    20 @released 	  	 
       
    21 */
       
    22 
       
    23 #ifndef EIKNOTIFYALERT_H
       
    24 #define EIKNOTIFYALERT_H
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 // Classes referenced
       
    29 class TASShdAlarm;
       
    30 class CEikAlmControlSupervisor;
       
    31 class MEikSrvNotifierBase2;
       
    32 
       
    33 class MEikNotifyAlertCompletionObserver
       
    34 	{
       
    35 public:
       
    36 	virtual void HandleAlertCompletion(const TInt aButtonVal)=0;
       
    37 protected:
       
    38 	IMPORT_C MEikNotifyAlertCompletionObserver();
       
    39 private:
       
    40 	IMPORT_C virtual void MEikNotifyAlertCompletionObserver_Reserved1();
       
    41 	IMPORT_C virtual void MEikNotifyAlertCompletionObserver_Reserved2();
       
    42 private:
       
    43 	TInt iMEikNotifyAlertCompletionObserver_Reserved1;
       
    44 	};
       
    45 
       
    46 class MEikServNotifyAlert
       
    47 	{
       
    48 public:
       
    49 	virtual void Release()=0;
       
    50 	virtual void DisplayNotifier(const TDesC& aTitle,const TDesC& aLabel,const TDesC& aBut1,const TDesC& aBut2, MEikNotifyAlertCompletionObserver* aObserver)=0;
       
    51 protected:
       
    52 	IMPORT_C MEikServNotifyAlert();
       
    53 private:
       
    54 	IMPORT_C virtual void MEikServNotifyAlert_Reserved1();
       
    55 	IMPORT_C virtual void MEikServNotifyAlert_Reserved2();
       
    56 private:
       
    57 	TInt iMEikServNotifyAlert_Reserved1;
       
    58 	};
       
    59 
       
    60 class MEikServAlarm
       
    61 	{
       
    62 public:
       
    63 	virtual void Release()=0;
       
    64 	virtual void ShowAlarm()=0;
       
    65 	virtual void HideAlarm()=0;
       
    66 	virtual TInt CurrentServerState() const=0;
       
    67 	virtual void UpdateSoundPauseTimeInterval(TInt aMinutes)=0;
       
    68 	virtual void UpdateForAlarmServerState(TInt aNewAlarmServerState)=0;
       
    69 	virtual void UpdateAlarmInfo(const TASShdAlarm& aAlarm,const TFullName& aOwner)=0;
       
    70 	virtual void StartPlayAlarmL(const TDesC& aAlarmName)=0;
       
    71 	virtual void StopPlayAlarm()=0;
       
    72 protected:
       
    73 	IMPORT_C MEikServAlarm();
       
    74 private:
       
    75 	IMPORT_C virtual void MEikServAlarm_Reserved1();
       
    76 	IMPORT_C virtual void MEikServAlarm_Reserved2();
       
    77 private:
       
    78 	TInt iMEikServAlarm_Reserved1;
       
    79 	};
       
    80 
       
    81 class MEikServAlarmFactory
       
    82 	{
       
    83 	public:
       
    84 		virtual MEikServAlarm* NewAlarmL(CEikAlmControlSupervisor& aSupervisor)=0;
       
    85 protected:
       
    86 	IMPORT_C MEikServAlarmFactory();
       
    87 private:
       
    88 	IMPORT_C virtual void MEikServAlarmFactory_Reserved1();
       
    89 	IMPORT_C virtual void MEikServAlarmFactory_Reserved2();
       
    90 private:
       
    91 	TInt iMEikServAlarmFactory_Reserved1;
       
    92 	};
       
    93 
       
    94 #endif	// EIKNOTIFYALERT_H