diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/uikon/eiksvfty.h --- a/epoc32/include/uikon/eiksvfty.h Tue Nov 24 13:55:44 2009 +0000 +++ b/epoc32/include/uikon/eiksvfty.h Tue Mar 16 16:12:26 2010 +0000 @@ -1,1 +1,116 @@ -eiksvfty.h +// 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Standard factory definitions +// +// + +#ifndef __EIKSVFTY_H__ +#define __EIKSVFTY_H__ + +// System includes +#include + +// Classes referenced +class TASShdAlarm; +class CEikAlmControlSupervisor; +class MEikSrvNotifierBase2; + +/** Creates an interface object to a plug-in server side notifier. + +@publishedAll +@released +*/ +typedef CArrayPtr* (*CreateEikSrvNotifierBase)(); + +/** +@publishedPartner +@released +*/ +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; + }; + + +/** +@publishedPartner +@released +*/ +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; + }; + + +/** +@publishedPartner +@released +*/ +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; + }; + + +/** +@publishedPartner +@released +*/ +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 // __EIKSVFTY_H__