author | andy.simpson <andrews@symbian.org> |
Tue, 15 Dec 2009 14:31:48 +0000 | |
changeset 22 | 76eb2bdc9c63 |
parent 10 | fc9cf246af83 |
child 23 | 50974a8b132e |
permissions | -rw-r--r-- |
5 | 1 |
/* |
2 |
* Copyright (c) 2005-2006 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 the License "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: describes system information utilities. |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
#ifndef __SYSINFO_H__ |
|
20 |
#define __SYSINFO_H__ |
|
21 |
||
22 |
#include <BADESCA.H> |
|
23 |
#include <f32file.h> |
|
24 |
#include <AccPolGenericIDArray.h> |
|
25 |
#include <etelmm.h> |
|
26 |
||
27 |
class ISystemObserver; |
|
28 |
||
29 |
||
30 |
/** |
|
31 |
* @ref CSysData is base class which can be extend to implement variety of |
|
32 |
* system data representations. |
|
33 |
* |
|
34 |
* @lib sysinfoservice.lib |
|
35 |
* @since S60 3.2 |
|
36 |
*/ |
|
37 |
NONSHARABLE_CLASS(CSysData) : public CBase |
|
38 |
{ |
|
39 |
public: |
|
40 |
// Enumeration of supported i/o data types. |
|
41 |
enum TDataType |
|
42 |
{ |
|
43 |
EStatus, |
|
44 |
EVersion, |
|
45 |
EConnectionList, |
|
46 |
EConnectionInfo, |
|
47 |
ENetworkInfo, |
|
48 |
EDriveInfo, |
|
49 |
ELanguageList, |
|
50 |
EDriveList, |
|
51 |
EAccessoryList, |
|
52 |
EAccessoryInfo, |
|
53 |
EResolution, |
|
54 |
EStringList, |
|
55 |
EStringData, |
|
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
56 |
ECameraInfo |
5 | 57 |
}; |
58 |
public: |
|
59 |
/** |
|
60 |
* virtual Destructor. |
|
61 |
*/ |
|
62 |
virtual ~CSysData (); |
|
63 |
||
64 |
/** |
|
65 |
* @return type of data stored. |
|
66 |
*/ |
|
67 |
IMPORT_C TDataType DataType() const; |
|
68 |
||
69 |
protected: |
|
70 |
||
71 |
/** |
|
72 |
* C++ default constructor. |
|
73 |
*/ |
|
74 |
CSysData(TDataType aType); |
|
75 |
private: |
|
76 |
||
77 |
/** |
|
78 |
* Data type |
|
79 |
*/ |
|
80 |
TDataType iDataType; |
|
81 |
}; |
|
82 |
||
83 |
/** |
|
84 |
* @ref CStatus is an integer data used in general for representing status |
|
85 |
* information of some System Attributes. Typically ON,OFF state, battery |
|
86 |
* level and so on. |
|
87 |
* |
|
88 |
* @lib sysinfoservice.lib |
|
89 |
* @since S60 3.2 |
|
90 |
*/ |
|
91 |
NONSHARABLE_CLASS(CStatus) : public CSysData |
|
92 |
{ |
|
93 |
public: |
|
94 |
||
95 |
/** |
|
96 |
* Two-phased constructor. |
|
97 |
* |
|
98 |
* @return A new instance of this class. |
|
99 |
*/ |
|
100 |
IMPORT_C static CStatus* NewL(TInt aStatus); |
|
101 |
||
102 |
/** |
|
103 |
* @return status information |
|
104 |
*/ |
|
105 |
IMPORT_C TInt Status() const; |
|
106 |
||
107 |
/** |
|
108 |
* Destructor. |
|
109 |
*/ |
|
110 |
~CStatus(); |
|
111 |
||
112 |
private: |
|
113 |
||
114 |
/** |
|
115 |
* C++ default constructor. |
|
116 |
*/ |
|
117 |
CStatus(TInt aStatus); |
|
118 |
||
119 |
private: |
|
120 |
/** |
|
121 |
* Status value. |
|
122 |
*/ |
|
123 |
TInt iStatus; |
|
124 |
}; |
|
125 |
||
126 |
/** |
|
127 |
* @ref CResolution screen resolution of device specified in X,Y Pixels. |
|
128 |
* |
|
129 |
* @lib sysinfoservice.lib |
|
130 |
* @since S60 3.2 |
|
131 |
*/ |
|
132 |
NONSHARABLE_CLASS(CResolution) : public CSysData |
|
133 |
{ |
|
134 |
public: |
|
135 |
||
136 |
/** |
|
137 |
* Two-phased constructor. |
|
138 |
* |
|
139 |
* @return A new instance of this class. |
|
140 |
*/ |
|
141 |
static CResolution* NewL(TInt aXPixels, TInt aYPixels); |
|
142 |
||
143 |
/** |
|
144 |
* @return X-Pixels. |
|
145 |
*/ |
|
146 |
IMPORT_C TInt XPixels() const; |
|
147 |
||
148 |
/** |
|
149 |
* @return Y-Pixels. |
|
150 |
*/ |
|
151 |
IMPORT_C TInt YPixels() const; |
|
152 |
||
153 |
/** |
|
154 |
* Destructor. |
|
155 |
*/ |
|
156 |
~CResolution(); |
|
157 |
||
158 |
private: |
|
159 |
/** |
|
160 |
* C++ default constructor. |
|
161 |
*/ |
|
162 |
CResolution (TInt aXPixels, TInt aYPixels); |
|
163 |
||
164 |
private: |
|
165 |
/** |
|
166 |
* X-Pixels. |
|
167 |
*/ |
|
168 |
TInt iXPixels; |
|
169 |
/** |
|
170 |
* Y-Pixels. |
|
171 |
*/ |
|
172 |
TInt iYPixels; |
|
173 |
}; |
|
174 |
||
175 |
/** |
|
176 |
* @ref CAccessoryInfo provides accessory information i.e ACCESSORY TYPE |
|
177 |
* @ref TAccessoryType and its connection status @ref TAccessoryState. |
|
178 |
* |
|
179 |
* @lib sysinfoservice.lib |
|
180 |
* @since S60 3.2 |
|
181 |
*/ |
|
182 |
NONSHARABLE_CLASS(CAccessoryInfo):public CSysData |
|
183 |
{ |
|
184 |
public: |
|
185 |
||
186 |
typedef enum{ |
|
187 |
/** Unknown. */ |
|
188 |
EUnknown=-1, |
|
189 |
/** Headset */ |
|
190 |
EHeadSet, |
|
191 |
/** Bluetooth headset */ |
|
192 |
EBTHeadSet, |
|
193 |
/** Carkit */ |
|
194 |
ECarKit, |
|
195 |
/** Bluetooth carkit */ |
|
196 |
EBTCarKit |
|
197 |
}TAccessoryType; |
|
198 |
||
199 |
typedef enum{ |
|
200 |
/** Accessory connected */ |
|
201 |
EDisconnected, |
|
202 |
/** Accessory disconnected */ |
|
203 |
EConnected |
|
204 |
}TAccessoryState; |
|
205 |
||
206 |
public: |
|
207 |
||
208 |
/** |
|
209 |
* Two-phased constructor. |
|
210 |
* |
|
211 |
* @return A new instance of this class. |
|
212 |
*/ |
|
213 |
static CAccessoryInfo* NewL(const TAccPolGenericID& aGenericID, |
|
214 |
TAccessoryState aAccState); |
|
215 |
||
216 |
/** |
|
217 |
* Destructor. |
|
218 |
*/ |
|
219 |
~CAccessoryInfo(); |
|
220 |
||
221 |
public: |
|
222 |
/** |
|
223 |
* @return ACCESSORY TYPE |
|
224 |
*/ |
|
225 |
IMPORT_C TInt AccessoryType() const; |
|
226 |
/** |
|
227 |
* @return Connection state. |
|
228 |
*/ |
|
229 |
IMPORT_C TInt ConnectionState() const; |
|
230 |
||
231 |
private: |
|
232 |
/** |
|
233 |
* C++ default constructor. |
|
234 |
*/ |
|
235 |
CAccessoryInfo(TAccessoryState aAccState); |
|
236 |
/** |
|
237 |
* Deduce accessory type from aGenericID. |
|
238 |
*/ |
|
239 |
void GetAccessoryProperty( const TAccPolGenericID& aGenericID ); |
|
240 |
||
241 |
private: |
|
242 |
/** |
|
243 |
* Accessory type |
|
244 |
*/ |
|
245 |
TInt iAccessoryType; |
|
246 |
/** |
|
247 |
* Connection State. |
|
248 |
*/ |
|
249 |
TInt iConnectionState; |
|
250 |
}; |
|
251 |
||
252 |
/** |
|
253 |
* @ref CAccList provides access to read list of accessories. |
|
254 |
* |
|
255 |
* @lib sysinfoservice.lib |
|
256 |
* @since S60 3.2 |
|
257 |
*/ |
|
258 |
NONSHARABLE_CLASS(CAccList): public CSysData |
|
259 |
{ |
|
260 |
public: |
|
261 |
/** |
|
262 |
* Two-phased constructor. |
|
263 |
* |
|
264 |
* @return A new instance of this class. |
|
265 |
*/ |
|
266 |
static CAccList* NewL(); |
|
267 |
||
268 |
/** |
|
269 |
* @return @ref CAccessoryInfo client owns created instance. |
|
270 |
*/ |
|
271 |
IMPORT_C const CAccessoryInfo* operator[](TInt aIndex) const; |
|
272 |
||
273 |
/** |
|
274 |
* On return aAccInfo has new CAccessoryInfo instance ownership given to |
|
275 |
* client. |
|
276 |
*/ |
|
277 |
IMPORT_C TBool AtL(TInt aIndex,const CAccessoryInfo*& aAccInfo) const; |
|
278 |
||
279 |
/** |
|
280 |
* @return number of accessories in the list. |
|
281 |
*/ |
|
282 |
IMPORT_C TInt Count () const; |
|
283 |
||
284 |
/** |
|
285 |
* Destructor. |
|
286 |
*/ |
|
287 |
~CAccList(); |
|
288 |
private: |
|
289 |
||
290 |
/** |
|
291 |
* C++ default constructor. |
|
292 |
*/ |
|
293 |
CAccList(); |
|
294 |
/** |
|
295 |
* Symbian 2nd phase constructor. |
|
296 |
*/ |
|
297 |
void ConstructL(); |
|
298 |
||
299 |
private: |
|
300 |
/** |
|
301 |
* Accessory ID Array. |
|
302 |
*/ |
|
303 |
TAccPolGenericIDArray iAccessories; |
|
304 |
||
305 |
/** |
|
306 |
* number of accessories. |
|
307 |
*/ |
|
308 |
TInt iCount; |
|
309 |
}; |
|
310 |
||
311 |
/** |
|
312 |
* @ref CStringData string data represented using this class. |
|
313 |
* |
|
314 |
* @lib sysinfoservice.lib |
|
315 |
* @since S60 3.2 |
|
316 |
*/ |
|
317 |
NONSHARABLE_CLASS(CStringData): public CSysData |
|
318 |
{ |
|
319 |
public: |
|
320 |
/** |
|
321 |
* Two-phased constructor. |
|
322 |
* |
|
323 |
* @return A new instance of this class. |
|
324 |
*/ |
|
325 |
IMPORT_C static CStringData* NewL(const TDesC& aString); |
|
326 |
||
327 |
/** |
|
328 |
* On return aString contains string data. |
|
329 |
*/ |
|
330 |
IMPORT_C void StringData(TPtrC& aString) const; |
|
331 |
||
332 |
/** |
|
333 |
* Destructor. |
|
334 |
*/ |
|
335 |
~CStringData(); |
|
336 |
||
337 |
private: |
|
338 |
/** |
|
339 |
* C++ default constructor. |
|
340 |
*/ |
|
341 |
CStringData(); |
|
342 |
||
343 |
private: |
|
344 |
/** |
|
345 |
* String data. |
|
346 |
*/ |
|
347 |
HBufC* iStringData; |
|
348 |
}; |
|
349 |
||
350 |
/** |
|
351 |
* @ref CVersion Major and Minor version information. |
|
352 |
* |
|
353 |
* @lib sysinfoservice.lib |
|
354 |
* @since S60 3.2 |
|
355 |
*/ |
|
356 |
NONSHARABLE_CLASS(CVersion): public CSysData |
|
357 |
{ |
|
358 |
public: |
|
359 |
/** |
|
360 |
* Two-phased constructor. |
|
361 |
* |
|
362 |
* @return A new instance of this class. |
|
363 |
*/ |
|
364 |
static CVersion* NewL(TInt aMajor,TInt aMinor); |
|
365 |
||
366 |
/** |
|
367 |
* @return Manjor Version number. |
|
368 |
*/ |
|
369 |
IMPORT_C TInt MajorVersion() const; |
|
370 |
||
371 |
/** |
|
372 |
* @return Minor Version number. |
|
373 |
*/ |
|
374 |
IMPORT_C TInt MinorVersion() const; |
|
375 |
/** |
|
376 |
* Destructor. |
|
377 |
*/ |
|
378 |
~CVersion(); |
|
379 |
||
380 |
private: |
|
381 |
||
382 |
/** |
|
383 |
* C++ default constructor. |
|
384 |
*/ |
|
385 |
CVersion(TInt aMajor,TInt aMinor); |
|
386 |
||
387 |
private: |
|
388 |
/** |
|
389 |
* Major Version. |
|
390 |
*/ |
|
391 |
TInt iMajorVersion; |
|
392 |
/** |
|
393 |
* Minor Version. |
|
394 |
*/ |
|
395 |
TInt iMinorVersion; |
|
396 |
}; |
|
397 |
||
398 |
/** |
|
399 |
* @ref CConnectionInfo provides access to read connection information i.e Connection type, |
|
400 |
* Access point ID, Network name and Access point name. |
|
401 |
* |
|
402 |
* @lib sysinfoservice.lib |
|
403 |
* @since S60 3.2 |
|
404 |
*/ |
|
405 |
NONSHARABLE_CLASS(CConnectionInfo) : public CSysData |
|
406 |
{ |
|
407 |
public: |
|
408 |
typedef enum{ |
|
409 |
/** disconnected */ |
|
410 |
EDisconnected, |
|
411 |
/** connected */ |
|
412 |
EConnected |
|
413 |
}TConnectionState; |
|
414 |
||
415 |
/** |
|
416 |
* Two-phased constructor. |
|
417 |
* |
|
418 |
* @return A new instance of this class. |
|
419 |
*/ |
|
420 |
IMPORT_C static CConnectionInfo* NewL(TUint aConnId, TUint aIAPId, |
|
421 |
TInt aBearerType, |
|
422 |
TConnectionState aConnectStatus, |
|
423 |
const TDesC& aIAPName, |
|
424 |
const TDesC& aNetworkName, |
|
425 |
const TDesC& aConnectionName); |
|
426 |
||
427 |
/** |
|
428 |
* Destructor. |
|
429 |
*/ |
|
430 |
~CConnectionInfo(); |
|
431 |
||
432 |
/** |
|
433 |
* @return A new instance of this class object. |
|
434 |
*/ |
|
435 |
CConnectionInfo* CopyL(); |
|
436 |
||
437 |
public: |
|
438 |
TUint ConnectionId() const; |
|
439 |
||
440 |
IMPORT_C TUint IAPId() const; |
|
441 |
||
442 |
IMPORT_C TInt BearerType()const; |
|
443 |
||
444 |
IMPORT_C TPtrC IAPName() const; |
|
445 |
||
446 |
IMPORT_C TPtrC NetworkName() const; |
|
447 |
||
448 |
IMPORT_C TPtrC ConnectionName() const; |
|
449 |
||
450 |
IMPORT_C TConnectionState ConnectionState() const; |
|
451 |
||
452 |
void SetConnectionState(CConnectionInfo::TConnectionState aState); |
|
453 |
||
454 |
private: |
|
455 |
/** |
|
456 |
* C++ default constructor. |
|
457 |
*/ |
|
458 |
CConnectionInfo (); |
|
459 |
||
460 |
/** |
|
461 |
* Symbian 2nd phase constructor. |
|
462 |
*/ |
|
463 |
void ConstructL(TUint aConnId, TUint aIAPId, |
|
464 |
TInt aBearerType, |
|
465 |
TConnectionState aConnectStatus, |
|
466 |
const TDesC& aIAPName, |
|
467 |
const TDesC& aNetworkName, |
|
468 |
const TDesC& aConnectionName); |
|
469 |
private: |
|
470 |
||
471 |
TUint iConnectionId; |
|
472 |
||
473 |
TConnectionState iConnectStatus; |
|
474 |
||
475 |
TUint iIAPId; |
|
476 |
||
477 |
TInt iBearerType; |
|
478 |
||
479 |
HBufC* iIAPName; |
|
480 |
||
481 |
HBufC* iNetworkName; |
|
482 |
||
483 |
HBufC* iConnectionName; |
|
484 |
}; |
|
485 |
||
486 |
/** |
|
487 |
* @ref CConnectionList this class lists connections. provides access to |
|
488 |
* each connection information. |
|
489 |
* |
|
490 |
* @lib sysinfoservice.lib |
|
491 |
* @since S60 3.2 |
|
492 |
*/ |
|
493 |
NONSHARABLE_CLASS(CConnectionList) : public CSysData |
|
494 |
{ |
|
495 |
public: |
|
496 |
/** |
|
497 |
* Two-phased constructor. |
|
498 |
* |
|
499 |
* @return A new instance of this class. |
|
500 |
*/ |
|
501 |
static CConnectionList* NewL( |
|
502 |
RPointerArray<CConnectionInfo>& aConnectionInfoArr); |
|
503 |
/** |
|
504 |
* Two-phased constructor. |
|
505 |
* |
|
506 |
* @return A new instance of this class. |
|
507 |
*/ |
|
508 |
static CConnectionList* NewLC( |
|
509 |
RPointerArray<CConnectionInfo>& aConnectionInfoArr); |
|
510 |
/** |
|
511 |
* On return aConnectionInfo contains connection information. aConnectionInfo |
|
512 |
* ownership not given to user. |
|
513 |
*/ |
|
514 |
IMPORT_C TBool At(TInt aIndex,const CConnectionInfo*& aConnectionInfo) const; |
|
515 |
||
516 |
/** |
|
517 |
* @return ConnectionInfo at index. |
|
518 |
*/ |
|
519 |
IMPORT_C const CConnectionInfo* operator[](TInt aIndex) const; |
|
520 |
/** |
|
521 |
* @return number of connections. |
|
522 |
*/ |
|
523 |
IMPORT_C TInt Count() const; |
|
524 |
||
525 |
/** |
|
526 |
* Destructor. |
|
527 |
*/ |
|
528 |
~CConnectionList(); |
|
529 |
||
530 |
private: |
|
531 |
/** |
|
532 |
* C++ default constructor. |
|
533 |
*/ |
|
534 |
CConnectionList(); |
|
535 |
/** |
|
536 |
* Symbian 2nd phase constructor. |
|
537 |
*/ |
|
538 |
void ConstructL(RPointerArray<CConnectionInfo>& aConnectionInfoArr); |
|
539 |
||
540 |
private: |
|
541 |
// Pointer Array to hold list of connections. |
|
542 |
RPointerArray<CConnectionInfo> iConnectionInfoArray; |
|
543 |
// Number of Connections. |
|
544 |
TInt iCount; |
|
545 |
}; |
|
546 |
||
547 |
/** |
|
548 |
* @ref CNetworkInfo client interface to read network details ie, Network name, |
|
549 |
* network type, status, MCC (Mobile Country Code), MNC (Mobile Network Code), |
|
550 |
* LAC (Location Area Code) and CellID. |
|
551 |
* |
|
552 |
* @lib sysinfoservice.lib |
|
553 |
* @since S60 3.2 |
|
554 |
*/ |
|
555 |
NONSHARABLE_CLASS(CNetworkInfo): public CSysData |
|
556 |
{ |
|
557 |
public: |
|
558 |
||
559 |
/** |
|
560 |
* Two-phased constructor. |
|
561 |
* |
|
562 |
* @return A new instance of this class. |
|
563 |
*/ |
|
564 |
static CNetworkInfo* NewL(RMobilePhone::TMobilePhoneNetworkInfoV1& aNetworkInfo, |
|
565 |
RMobilePhone::TMobilePhoneLocationAreaV1& aArea); |
|
566 |
||
567 |
/** |
|
568 |
* Destructor. |
|
569 |
*/ |
|
570 |
~CNetworkInfo(); |
|
571 |
||
572 |
public: |
|
573 |
/** |
|
574 |
* @return Network name. |
|
575 |
*/ |
|
576 |
IMPORT_C TPtrC NetworkName() const; |
|
577 |
/** |
|
578 |
* @return Network Mode. |
|
579 |
*/ |
|
580 |
IMPORT_C TInt NetworkMode()const; |
|
581 |
/** |
|
582 |
* @return Network Status. |
|
583 |
*/ |
|
584 |
IMPORT_C TInt NetworkStatus() const; |
|
585 |
/** |
|
586 |
* @return MCC Mobile Country Code. |
|
587 |
*/ |
|
588 |
IMPORT_C TPtrC CountryCode() const; |
|
589 |
/** |
|
590 |
* @return MNC Mobile Network Code. |
|
591 |
*/ |
|
592 |
IMPORT_C TPtrC NetworkCode() const; |
|
593 |
/** |
|
594 |
* @return LAC Location Area Code. |
|
595 |
*/ |
|
596 |
IMPORT_C TUint LocationAreaCode() const; |
|
597 |
/** |
|
598 |
* @return CellID |
|
599 |
*/ |
|
600 |
IMPORT_C TUint CellId() const; |
|
601 |
/** |
|
602 |
* @return Identifier for validating LAC & CellID |
|
603 |
*/ |
|
604 |
IMPORT_C TBool ValidLocationAreaCode() const; |
|
605 |
||
606 |
private: |
|
607 |
/** |
|
608 |
* C++ default constructor. |
|
609 |
*/ |
|
610 |
CNetworkInfo(RMobilePhone::TMobilePhoneNetworkInfoV1& aNetworkInfo, |
|
611 |
RMobilePhone::TMobilePhoneLocationAreaV1& aArea); |
|
612 |
private: |
|
613 |
//Network Information |
|
614 |
RMobilePhone::TMobilePhoneNetworkInfoV1 iNetworkInfo; |
|
615 |
//Location information. |
|
616 |
RMobilePhone::TMobilePhoneLocationAreaV1 iLAC; |
|
617 |
}; |
|
618 |
||
619 |
/** |
|
620 |
* @ref CLanguageList language list class |
|
621 |
* |
|
622 |
* @lib sysinfoservice.lib |
|
623 |
* @since S60 3.2 |
|
624 |
*/ |
|
625 |
NONSHARABLE_CLASS(CLanguageList): public CSysData |
|
626 |
{ |
|
627 |
public: |
|
628 |
/** |
|
629 |
* Two-phased constructor. |
|
630 |
* |
|
631 |
* @return A new instance of this class. |
|
632 |
*/ |
|
633 |
static CLanguageList* NewL(); |
|
634 |
/** |
|
635 |
* @return Language Code. |
|
636 |
*/ |
|
637 |
IMPORT_C TInt operator[](TInt aIndex) const; |
|
638 |
/** |
|
639 |
* On return aEntry contains Language Code. |
|
640 |
*/ |
|
641 |
IMPORT_C TBool At(TInt aIndex, TInt& aEntry) const; |
|
642 |
/** |
|
643 |
* @return language count. |
|
644 |
*/ |
|
645 |
IMPORT_C TInt Count() const; |
|
646 |
||
647 |
/** |
|
648 |
* Destructor. |
|
649 |
*/ |
|
650 |
~CLanguageList(); |
|
651 |
||
652 |
private: |
|
653 |
/** |
|
654 |
* C++ default constructor. |
|
655 |
*/ |
|
656 |
CLanguageList(); |
|
657 |
/** |
|
658 |
* Symbian 2nd phase constructor. |
|
659 |
*/ |
|
660 |
void ConstructL(); |
|
661 |
||
662 |
private: |
|
663 |
/** |
|
664 |
* array consists of language codes. |
|
665 |
*/ |
|
666 |
RArray<TInt> iLanguages; |
|
667 |
}; |
|
668 |
||
669 |
/** |
|
670 |
* @ref CDriveList drive list. |
|
671 |
* |
|
672 |
* @lib sysinfoservice.lib |
|
673 |
* @since S60 3.2 |
|
674 |
*/ |
|
675 |
NONSHARABLE_CLASS(CDriveList): public CSysData |
|
676 |
{ |
|
677 |
public: |
|
678 |
/** |
|
679 |
* Two-phased constructor. |
|
680 |
* |
|
681 |
* @return A new instance of this class. |
|
682 |
*/ |
|
683 |
static CDriveList* NewL(TDriveList& aDrives); |
|
684 |
/** |
|
685 |
* @return drive number. |
|
686 |
*/ |
|
687 |
IMPORT_C TInt operator[](TInt aIndex) const; |
|
688 |
/** |
|
689 |
* On return aEntry contains drive number. |
|
690 |
*/ |
|
691 |
IMPORT_C TBool At(TInt aIndex, TInt& aEntry) const; |
|
692 |
/** |
|
693 |
* @return number of drives. |
|
694 |
*/ |
|
695 |
IMPORT_C TInt Count() const; |
|
696 |
||
697 |
/** |
|
698 |
* Destructor. |
|
699 |
*/ |
|
700 |
~CDriveList(); |
|
701 |
||
702 |
private: |
|
703 |
/** |
|
704 |
* C++ default constructor. |
|
705 |
*/ |
|
706 |
CDriveList(); |
|
707 |
/** |
|
708 |
* Symbian 2nd phase constructor. |
|
709 |
*/ |
|
710 |
void ConstructL(TDriveList& aDrives); |
|
711 |
||
712 |
private: |
|
713 |
RArray<TInt> iDrives; |
|
714 |
TInt iCount; |
|
715 |
}; |
|
716 |
||
717 |
/** |
|
718 |
* @ref CDriveInfo details drive information ie, Drive name, Total space, |
|
719 |
* Free space, Media type, critical free space and battery status. |
|
720 |
* |
|
721 |
* @lib sysinfoservice.lib |
|
722 |
* @since S60 3.2 |
|
723 |
*/ |
|
724 |
NONSHARABLE_CLASS(CDriveInfo): public CSysData |
|
725 |
{ |
|
726 |
public: |
|
727 |
/** |
|
728 |
* Two-phased constructor. |
|
729 |
* |
|
730 |
* @return A new instance of this class. |
|
731 |
*/ |
|
732 |
IMPORT_C static CDriveInfo* NewL(TInt aDriveNumber, TInt aCriticalSpace=-1); |
|
733 |
||
734 |
/** |
|
735 |
* Two-phased constructor. |
|
736 |
* |
|
737 |
* @return A new instance of this class. |
|
738 |
*/ |
|
739 |
static CDriveInfo* NewL(TInt aDriveNumber, TVolumeInfo& aVolumeInfo); |
|
740 |
||
741 |
/** |
|
742 |
* Destructor. |
|
743 |
*/ |
|
744 |
~CDriveInfo(); |
|
745 |
public: |
|
746 |
IMPORT_C TInt DriveNumber() const; |
|
747 |
IMPORT_C TInt CriticalSpace() const; |
|
748 |
IMPORT_C TInt MediaType() const; |
|
749 |
IMPORT_C TInt64 TotalSpace() const; |
|
750 |
IMPORT_C TInt64 FreeSpace() const; |
|
751 |
IMPORT_C void DriveName(TPtrC& aDriveName) const; |
|
752 |
IMPORT_C TInt BatteryState() const; |
|
753 |
||
754 |
private: |
|
755 |
/** |
|
756 |
* C++ default constructor. |
|
757 |
*/ |
|
758 |
CDriveInfo(TInt aDrvNumber,TInt aCriticalSpace); |
|
759 |
/** |
|
760 |
* C++ default constructor. |
|
761 |
*/ |
|
762 |
CDriveInfo(TInt aDrvNumber,TVolumeInfo& aVolumeInfo); |
|
763 |
/** |
|
764 |
* Symbian 2nd phase constructor. |
|
765 |
*/ |
|
766 |
void ConstructL(); |
|
767 |
||
768 |
private: |
|
769 |
TInt iDrvNumber; |
|
770 |
TVolumeInfo iVolumeInfo; |
|
771 |
TInt iVolumeInfoValid; |
|
772 |
TInt iCriticalSpace; |
|
773 |
}; |
|
774 |
||
775 |
/** |
|
776 |
* @ref CStringList list of strings |
|
777 |
* |
|
778 |
* @lib sysinfoservice.lib |
|
779 |
* @since S60 3.2 |
|
780 |
*/ |
|
781 |
NONSHARABLE_CLASS(CStringList): public CSysData |
|
782 |
{ |
|
783 |
public: |
|
784 |
/** |
|
785 |
* Two-phased constructor. |
|
786 |
* |
|
787 |
* @return A new instance of this class. |
|
788 |
*/ |
|
789 |
static CStringList* NewL(CDesCArray*& aDesArray); |
|
790 |
/** |
|
791 |
* @return string data. |
|
792 |
*/ |
|
793 |
IMPORT_C TPtrC operator[](TInt aIndex) const; |
|
794 |
/** |
|
795 |
* @On return aEntry consists of string data. |
|
796 |
*/ |
|
797 |
IMPORT_C TBool At(TInt aIndex, TPtrC& aEntry) const; |
|
798 |
/** |
|
799 |
* @return number of strings. |
|
800 |
*/ |
|
801 |
IMPORT_C TInt Count() const; |
|
802 |
/** |
|
803 |
* Destructor. |
|
804 |
*/ |
|
805 |
~CStringList(); |
|
806 |
||
807 |
private: |
|
808 |
/** |
|
809 |
* C++ default constructor. |
|
810 |
*/ |
|
811 |
CStringList(CDesCArray*& aDesArray); |
|
812 |
private: |
|
813 |
CDesCArray* iDesArray; |
|
814 |
TInt iCount; |
|
815 |
}; |
|
816 |
||
817 |
||
10
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
818 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
819 |
* @ref CCameraResolutionList this class lists different |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
820 |
* resolutions supported |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
821 |
* |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
822 |
* @lib sysinfoservice.lib |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
823 |
* @since S60 3.2 |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
824 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
825 |
NONSHARABLE_CLASS(CCameraResolutionList) : public CSysData |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
826 |
{ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
827 |
public: |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
828 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
829 |
* Two-phased constructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
830 |
* |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
831 |
* @return A new instance of this class. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
832 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
833 |
static CCameraResolutionList* NewL( RPointerArray<CResolution>& aCamResArray ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
834 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
835 |
* Two-phased constructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
836 |
* |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
837 |
* @return A new instance of this class. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
838 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
839 |
static CCameraResolutionList* NewLC( RPointerArray<CResolution>& aCamResArray ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
840 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
841 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
842 |
* On return val contains supported resolution XPixel or YPixel |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
843 |
* depending upon whether flag is 0 or 1. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
844 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
845 |
IMPORT_C TBool At( TInt aIndex, TInt flag, TInt& val ) const; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
846 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
847 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
848 |
* @return resolution at index. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
849 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
850 |
IMPORT_C const CResolution* operator[]( TInt aIndex ) const; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
851 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
852 |
* @return number of supported resolutions. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
853 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
854 |
IMPORT_C TInt Count() const; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
855 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
856 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
857 |
* Destructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
858 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
859 |
~CCameraResolutionList(); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
860 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
861 |
private: |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
862 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
863 |
* C++ default constructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
864 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
865 |
CCameraResolutionList(); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
866 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
867 |
* Symbian 2nd phase constructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
868 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
869 |
void ConstructL( RPointerArray<CResolution>& aCamResArray ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
870 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
871 |
private: |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
872 |
RPointerArray<CResolution> iresArray; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
873 |
TInt iCount; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
874 |
}; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
875 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
876 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
877 |
* @ref CCameraInfo details about Resolutions Supported and |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
878 |
* MimeTypes supported by a device |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
879 |
* @lib sysinfoservice.lib |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
880 |
* @since S60 3.2 |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
881 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
882 |
NONSHARABLE_CLASS(CCameraInfo) : public CSysData |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
883 |
{ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
884 |
public: |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
885 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
886 |
* Two-phased constructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
887 |
* @return A new instance of this class. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
888 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
889 |
static CCameraInfo* NewL( CCameraResolutionList* aCamResList, CStringList* aMimeTypesList ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
890 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
891 |
* Two-phased constructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
892 |
* @return A new instance of this class. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
893 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
894 |
static CCameraInfo* NewLC( CCameraResolutionList* aCamResList, CStringList* aMimeTypes ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
895 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
896 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
897 |
* On return List of supported Resolutions |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
898 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
899 |
IMPORT_C CCameraResolutionList* ResolutionList() const; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
900 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
901 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
902 |
* On return List of supported MimeTypes |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
903 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
904 |
IMPORT_C CStringList* MimeTypesList() const; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
905 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
906 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
907 |
* Destructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
908 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
909 |
~CCameraInfo(); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
910 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
911 |
private: |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
912 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
913 |
* C++ default constructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
914 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
915 |
CCameraInfo(); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
916 |
/** |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
917 |
* Symbian 2nd phase constructor. |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
918 |
*/ |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
919 |
void ConstructL( CCameraResolutionList* aCamResList, CStringList* aMimeTypes ); |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
920 |
|
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
921 |
private: |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
922 |
CCameraResolutionList* iResList; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
923 |
CStringList* iMimeTypesList; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
924 |
}; |
fc9cf246af83
Revision: 200931
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
925 |
|
5 | 926 |
#endif __SYSINFO_H__ |