1.1 --- a/epoc32/include/uikon/eiksvfty.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/uikon/eiksvfty.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,116 @@
1.4 -eiksvfty.h
1.5 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// 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
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +// Standard factory definitions
1.19 +//
1.20 +//
1.21 +
1.22 +#ifndef __EIKSVFTY_H__
1.23 +#define __EIKSVFTY_H__
1.24 +
1.25 +// System includes
1.26 +#include <e32base.h>
1.27 +
1.28 +// Classes referenced
1.29 +class TASShdAlarm;
1.30 +class CEikAlmControlSupervisor;
1.31 +class MEikSrvNotifierBase2;
1.32 +
1.33 +/** Creates an interface object to a plug-in server side notifier.
1.34 +
1.35 +@publishedAll
1.36 +@released
1.37 +*/
1.38 +typedef CArrayPtr<MEikSrvNotifierBase2>* (*CreateEikSrvNotifierBase)();
1.39 +
1.40 +/**
1.41 +@publishedPartner
1.42 +@released
1.43 +*/
1.44 +class MEikNotifyAlertCompletionObserver
1.45 + {
1.46 +public:
1.47 + virtual void HandleAlertCompletion(const TInt aButtonVal)=0;
1.48 +protected:
1.49 + IMPORT_C MEikNotifyAlertCompletionObserver();
1.50 +private:
1.51 + IMPORT_C virtual void MEikNotifyAlertCompletionObserver_Reserved1();
1.52 + IMPORT_C virtual void MEikNotifyAlertCompletionObserver_Reserved2();
1.53 +private:
1.54 + TInt iMEikNotifyAlertCompletionObserver_Reserved1;
1.55 + };
1.56 +
1.57 +
1.58 +/**
1.59 +@publishedPartner
1.60 +@released
1.61 +*/
1.62 +class MEikServNotifyAlert
1.63 + {
1.64 +public:
1.65 + virtual void Release()=0;
1.66 + virtual void DisplayNotifier(const TDesC& aTitle,const TDesC& aLabel,const TDesC& aBut1,const TDesC& aBut2, MEikNotifyAlertCompletionObserver* aObserver)=0;
1.67 +protected:
1.68 + IMPORT_C MEikServNotifyAlert();
1.69 +private:
1.70 + IMPORT_C virtual void MEikServNotifyAlert_Reserved1();
1.71 + IMPORT_C virtual void MEikServNotifyAlert_Reserved2();
1.72 +private:
1.73 + TInt iMEikServNotifyAlert_Reserved1;
1.74 + };
1.75 +
1.76 +
1.77 +/**
1.78 +@publishedPartner
1.79 +@released
1.80 +*/
1.81 +class MEikServAlarm
1.82 + {
1.83 +public:
1.84 + virtual void Release()=0;
1.85 + virtual void ShowAlarm()=0;
1.86 + virtual void HideAlarm()=0;
1.87 + virtual TInt CurrentServerState() const=0;
1.88 + virtual void UpdateSoundPauseTimeInterval(TInt aMinutes)=0;
1.89 + virtual void UpdateForAlarmServerState(TInt aNewAlarmServerState)=0;
1.90 + virtual void UpdateAlarmInfo(const TASShdAlarm& aAlarm,const TFullName& aOwner)=0;
1.91 + virtual void StartPlayAlarmL(const TDesC& aAlarmName)=0;
1.92 + virtual void StopPlayAlarm()=0;
1.93 +protected:
1.94 + IMPORT_C MEikServAlarm();
1.95 +private:
1.96 + IMPORT_C virtual void MEikServAlarm_Reserved1();
1.97 + IMPORT_C virtual void MEikServAlarm_Reserved2();
1.98 +private:
1.99 + TInt iMEikServAlarm_Reserved1;
1.100 + };
1.101 +
1.102 +
1.103 +/**
1.104 +@publishedPartner
1.105 +@released
1.106 +*/
1.107 +class MEikServAlarmFactory
1.108 + {
1.109 + public:
1.110 + virtual MEikServAlarm* NewAlarmL(CEikAlmControlSupervisor& aSupervisor)=0;
1.111 +protected:
1.112 + IMPORT_C MEikServAlarmFactory();
1.113 +private:
1.114 + IMPORT_C virtual void MEikServAlarmFactory_Reserved1();
1.115 + IMPORT_C virtual void MEikServAlarmFactory_Reserved2();
1.116 +private:
1.117 + TInt iMEikServAlarmFactory_Reserved1;
1.118 + };
1.119 +
1.120 +#endif // __EIKSVFTY_H__