author | jake |
Mon, 24 May 2010 12:15:02 +0300 | |
branch | v5backport |
changeset 76 | 62d594099fbe |
parent 58 | d017f79b1bb1 |
permissions | -rw-r--r-- |
58
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
1 |
/* |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
2 |
* Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies). |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
3 |
* All rights reserved. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
8 |
* |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
11 |
* |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
12 |
* Contributors: |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
13 |
* |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
14 |
* Description: Parameter class definitions. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
15 |
* |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
16 |
*/ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
17 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
18 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
19 |
#ifndef CPHCLTIMAGEPARAMS_H |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
20 |
#define CPHCLTIMAGEPARAMS_H |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
21 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
22 |
#include <e32std.h> |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
23 |
#include <e32base.h> |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
24 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
25 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
26 |
// Number of images in max. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
27 |
const TInt KPhCltImagesArrayLen = 10; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
28 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
29 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
30 |
/** |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
31 |
* Enumerates image type. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
32 |
* |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
33 |
* @since 3.0. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
34 |
* |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
35 |
* EPhCltVersionNotSet - not set version nbr. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
36 |
* EPhCltVersionVTStill - Video telephony still image. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
37 |
* EPhCltVersionOperatorLogo - Operator logo. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
38 |
* EPhCltTypeVTDefault - Video telephony default image when |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
39 |
* VT still image is not in use. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
40 |
*/ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
41 |
enum TPhCltImageType |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
42 |
{ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
43 |
EPhCltTypeNotSet = 0, |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
44 |
EPhCltTypeVTStill = 1, |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
45 |
EPhCltTypeOperatorLogo = 2, |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
46 |
EPhCltTypeVTDefault = 3 |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
47 |
}; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
48 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
49 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
50 |
/** |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
51 |
* Image handler uses TPhCltImageArray. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
52 |
* Identification is done according to the version number, and handled |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
53 |
* accordingly. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
54 |
*/ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
55 |
struct TPhCltImageArray |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
56 |
{ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
57 |
TInt iImages[KPhCltImagesArrayLen]; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
58 |
TInt iImageCount; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
59 |
TPhCltImageType iType; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
60 |
}; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
61 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
62 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
63 |
// CLASS DECLARATION |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
64 |
/** |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
65 |
* Parameter storage class. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
66 |
* |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
67 |
* @lib PhoneClient.lib |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
68 |
* @since Series60 3.2 |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
69 |
*/ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
70 |
class CPhCltImageParams : public CBase |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
71 |
{ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
72 |
public: |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
73 |
/** |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
74 |
* Returns class type. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
75 |
* @return type number; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
76 |
*/ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
77 |
IMPORT_C virtual TPhCltImageType Type() const = 0; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
78 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
79 |
/** |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
80 |
* Adds an image. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
81 |
* @param aHandle handle to an image. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
82 |
*/ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
83 |
virtual void AddImageL( TInt aHandle ) = 0; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
84 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
85 |
/** |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
86 |
* Gets an image. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
87 |
* @param aIndex index of the image to get. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
88 |
* @return image handle |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
89 |
*/ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
90 |
IMPORT_C virtual TInt GetImageL( const TInt aIndex ) const = 0; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
91 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
92 |
/** |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
93 |
* Gets image count. |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
94 |
* @return image count |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
95 |
*/ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
96 |
IMPORT_C virtual TInt Count() const = 0; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
97 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
98 |
/** |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
99 |
* Get all the images |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
100 |
* @return package buffered image struct |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
101 |
*/ |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
102 |
virtual TPckgBuf< TPhCltImageArray >& Images() = 0; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
103 |
}; |
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
104 |
|
d017f79b1bb1
updated dependencies; compiles again (including all plugins) with winscw_udeb without error
Christian Morlok <symbian.org@christianmorlok.de>
parents:
diff
changeset
|
105 |
#endif // CPHCLTIMAGEPARAMS_H |