1 eiksvfty.h |
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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Standard factory definitions |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __EIKSVFTY_H__ |
|
19 #define __EIKSVFTY_H__ |
|
20 |
|
21 // System includes |
|
22 #include <e32base.h> |
|
23 |
|
24 // Classes referenced |
|
25 class TASShdAlarm; |
|
26 class CEikAlmControlSupervisor; |
|
27 class MEikSrvNotifierBase2; |
|
28 |
|
29 /** Creates an interface object to a plug-in server side notifier. |
|
30 |
|
31 @publishedAll |
|
32 @released |
|
33 */ |
|
34 typedef CArrayPtr<MEikSrvNotifierBase2>* (*CreateEikSrvNotifierBase)(); |
|
35 |
|
36 /** |
|
37 @publishedPartner |
|
38 @released |
|
39 */ |
|
40 class MEikNotifyAlertCompletionObserver |
|
41 { |
|
42 public: |
|
43 virtual void HandleAlertCompletion(const TInt aButtonVal)=0; |
|
44 protected: |
|
45 IMPORT_C MEikNotifyAlertCompletionObserver(); |
|
46 private: |
|
47 IMPORT_C virtual void MEikNotifyAlertCompletionObserver_Reserved1(); |
|
48 IMPORT_C virtual void MEikNotifyAlertCompletionObserver_Reserved2(); |
|
49 private: |
|
50 TInt iMEikNotifyAlertCompletionObserver_Reserved1; |
|
51 }; |
|
52 |
|
53 |
|
54 /** |
|
55 @publishedPartner |
|
56 @released |
|
57 */ |
|
58 class MEikServNotifyAlert |
|
59 { |
|
60 public: |
|
61 virtual void Release()=0; |
|
62 virtual void DisplayNotifier(const TDesC& aTitle,const TDesC& aLabel,const TDesC& aBut1,const TDesC& aBut2, MEikNotifyAlertCompletionObserver* aObserver)=0; |
|
63 protected: |
|
64 IMPORT_C MEikServNotifyAlert(); |
|
65 private: |
|
66 IMPORT_C virtual void MEikServNotifyAlert_Reserved1(); |
|
67 IMPORT_C virtual void MEikServNotifyAlert_Reserved2(); |
|
68 private: |
|
69 TInt iMEikServNotifyAlert_Reserved1; |
|
70 }; |
|
71 |
|
72 |
|
73 /** |
|
74 @publishedPartner |
|
75 @released |
|
76 */ |
|
77 class MEikServAlarm |
|
78 { |
|
79 public: |
|
80 virtual void Release()=0; |
|
81 virtual void ShowAlarm()=0; |
|
82 virtual void HideAlarm()=0; |
|
83 virtual TInt CurrentServerState() const=0; |
|
84 virtual void UpdateSoundPauseTimeInterval(TInt aMinutes)=0; |
|
85 virtual void UpdateForAlarmServerState(TInt aNewAlarmServerState)=0; |
|
86 virtual void UpdateAlarmInfo(const TASShdAlarm& aAlarm,const TFullName& aOwner)=0; |
|
87 virtual void StartPlayAlarmL(const TDesC& aAlarmName)=0; |
|
88 virtual void StopPlayAlarm()=0; |
|
89 protected: |
|
90 IMPORT_C MEikServAlarm(); |
|
91 private: |
|
92 IMPORT_C virtual void MEikServAlarm_Reserved1(); |
|
93 IMPORT_C virtual void MEikServAlarm_Reserved2(); |
|
94 private: |
|
95 TInt iMEikServAlarm_Reserved1; |
|
96 }; |
|
97 |
|
98 |
|
99 /** |
|
100 @publishedPartner |
|
101 @released |
|
102 */ |
|
103 class MEikServAlarmFactory |
|
104 { |
|
105 public: |
|
106 virtual MEikServAlarm* NewAlarmL(CEikAlmControlSupervisor& aSupervisor)=0; |
|
107 protected: |
|
108 IMPORT_C MEikServAlarmFactory(); |
|
109 private: |
|
110 IMPORT_C virtual void MEikServAlarmFactory_Reserved1(); |
|
111 IMPORT_C virtual void MEikServAlarmFactory_Reserved2(); |
|
112 private: |
|
113 TInt iMEikServAlarmFactory_Reserved1; |
|
114 }; |
|
115 |
|
116 #endif // __EIKSVFTY_H__ |