1 /** |
|
2 * Copyright (c) 2010 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: CUpnpTmClientIconPref INL file |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __UPNPTMCLIENTICONPREF_INL__ |
|
19 #define __UPNPTMCLIENTICONPREF_INL__ |
|
20 |
|
21 |
|
22 // --------------------------------------------------------------------------------- |
|
23 // CUpnpTmClientIconPref::ClientProfileId |
|
24 // Returns the profileID of the client profile. |
|
25 // --------------------------------------------------------------------------------- |
|
26 // |
|
27 inline TUint CUpnpTmClientIconPref::ClientProfileId()const |
|
28 { |
|
29 return iClientProfileId; |
|
30 } |
|
31 |
|
32 // --------------------------------------------------------------------------------- |
|
33 // CUpnpTmClientIconPref::MimeType |
|
34 // Returns the mime type of the icon. |
|
35 // --------------------------------------------------------------------------------- |
|
36 // |
|
37 inline const TDesC8& CUpnpTmClientIconPref::MimeType()const |
|
38 { |
|
39 return *iIconMimeType; |
|
40 } |
|
41 |
|
42 // --------------------------------------------------------------------------------- |
|
43 // CUpnpTmClientIconPref::Width |
|
44 // Returns the width of the icon. |
|
45 // --------------------------------------------------------------------------------- |
|
46 // |
|
47 inline TInt CUpnpTmClientIconPref::Width()const |
|
48 { |
|
49 return iIconWidth; |
|
50 } |
|
51 |
|
52 // --------------------------------------------------------------------------------- |
|
53 // CUpnpTmClientIconPref::Height |
|
54 // Returns the height of the icon. |
|
55 // --------------------------------------------------------------------------------- |
|
56 // |
|
57 inline TInt CUpnpTmClientIconPref::Height()const |
|
58 { |
|
59 return iIconHeight; |
|
60 } |
|
61 |
|
62 // --------------------------------------------------------------------------------- |
|
63 // CUpnpTmClientIconPref::Depth |
|
64 // Returns the depth of the icon. |
|
65 // ------------------------------------------------------------------------------------- |
|
66 // |
|
67 inline TInt CUpnpTmClientIconPref::Depth()const |
|
68 { |
|
69 return iIconDepth; |
|
70 } |
|
71 |
|
72 // --------------------------------------------------------------------------------- |
|
73 // CUpnpTmClientIconPref::SetWidthL |
|
74 // Method is used to set the width of the icon which TM client supports |
|
75 // @param aWidth Width of the icon |
|
76 // --------------------------------------------------------------------------------- |
|
77 // |
|
78 inline void CUpnpTmClientIconPref::SetWidth( TInt aWidth ) |
|
79 { |
|
80 iIconWidth = aWidth; |
|
81 } |
|
82 |
|
83 // --------------------------------------------------------------------------------- |
|
84 // CUpnpTmClientIconPref::SetHeightL |
|
85 // Method is used to set the height of the icon which TM client supports |
|
86 // @param aHeight Height of the icon |
|
87 // --------------------------------------------------------------------------------- |
|
88 // |
|
89 inline void CUpnpTmClientIconPref::SetHeight( TInt aHeight ) |
|
90 { |
|
91 iIconHeight = aHeight; |
|
92 } |
|
93 |
|
94 // --------------------------------------------------------------------------------- |
|
95 // CUpnpTmClientIconPref::SetDepthL |
|
96 // Method is used to set the color depth of the icon which TM client supports |
|
97 // @param aDepth Color depth of the icon |
|
98 // --------------------------------------------------------------------------------- |
|
99 // |
|
100 inline void CUpnpTmClientIconPref::SetDepth( TInt aDepth ) |
|
101 { |
|
102 iIconDepth = aDepth; |
|
103 } |
|
104 |
|
105 #endif //__UPNPTMCLIENTICONPREF_INL__ |
|