1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef IR_SENDING_SERVICE_PROVIDER_H |
|
21 #define IR_SENDING_SERVICE_PROVIDER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <AiwServiceIfMenu.h> |
|
25 |
|
26 |
|
27 #include "IRClient.h" |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 |
|
31 |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * Provides BT sending services |
|
37 * |
|
38 */ |
|
39 class CIRSSProvider : public CAiwServiceIfMenu |
|
40 { |
|
41 public: // Constructors and destructor |
|
42 |
|
43 /** |
|
44 * Two-phased constructor. |
|
45 */ |
|
46 static CIRSSProvider* NewL(); |
|
47 |
|
48 /** |
|
49 * Destructor. |
|
50 */ |
|
51 virtual ~CIRSSProvider(); |
|
52 |
|
53 |
|
54 public: // Functions from base classes |
|
55 |
|
56 /** |
|
57 * From CAiwServiceIfMenu Not used |
|
58 * @since 2.6 |
|
59 * @param aFrameworkCallback Not used |
|
60 * @param aInterest Not used |
|
61 * @return None |
|
62 */ |
|
63 virtual void InitialiseL( MAiwNotifyCallback& aFrameworkCallback, |
|
64 const RCriteriaArray& aInterest ); |
|
65 |
|
66 /** |
|
67 * From CAiwServiceIfMenu Processes service command |
|
68 * and starts bt sending |
|
69 * @since 2.6 |
|
70 * @param aCmdId Command id |
|
71 * @param aInParamList Not used |
|
72 * @param aOutParamList List of files |
|
73 * @param aCmdOptions Not used |
|
74 * @param aCallback Not used |
|
75 * @return None |
|
76 */ |
|
77 virtual void HandleServiceCmdL( const TInt& aCmdId, |
|
78 const CAiwGenericParamList& aInParamList, |
|
79 CAiwGenericParamList& aOutParamList, |
|
80 TUint aCmdOptions, |
|
81 const MAiwNotifyCallback* aCallback ); |
|
82 |
|
83 |
|
84 virtual void InitializeMenuPaneL( CAiwMenuPane& aMenuPane, |
|
85 TInt aIndex, |
|
86 TInt /* aCascadeId */, |
|
87 const CAiwGenericParamList& aInParamList ); |
|
88 /** |
|
89 * From CAiwServiceIfBase Processes service command |
|
90 * and starts bt sending |
|
91 * @since 2.6 |
|
92 * @param aCmdId Command id |
|
93 * @param aInParamList Not used |
|
94 * @param aOutParamList List of files |
|
95 * @param aCmdOptions Not used |
|
96 * @param aCallback Not used |
|
97 * @return None |
|
98 */ |
|
99 virtual void HandleMenuCmdL(TInt aMenuCmdId, |
|
100 const CAiwGenericParamList& aInParamList, |
|
101 CAiwGenericParamList& aOutParamList, |
|
102 TUint aCmdOptions, |
|
103 const MAiwNotifyCallback* aCallback ); |
|
104 |
|
105 |
|
106 |
|
107 |
|
108 |
|
109 |
|
110 private: |
|
111 |
|
112 |
|
113 |
|
114 |
|
115 private: |
|
116 |
|
117 /** |
|
118 * C++ default constructor. |
|
119 */ |
|
120 CIRSSProvider(); |
|
121 |
|
122 /** |
|
123 * By default Symbian 2nd phase constructor is private. |
|
124 */ |
|
125 void ConstructL(); |
|
126 |
|
127 private: // Data |
|
128 |
|
129 CIRClient* iIRClient; |
|
130 }; |
|
131 |
|
132 #endif // BT_SENDING_SERVICE_PROVIDER_H |
|
133 |
|
134 // End of File |
|