equal
deleted
inserted
replaced
18 #ifndef __UPNPSVGIMAGECONVERTER_H__ |
18 #ifndef __UPNPSVGIMAGECONVERTER_H__ |
19 #define __UPNPSVGIMAGECONVERTER_H__ |
19 #define __UPNPSVGIMAGECONVERTER_H__ |
20 |
20 |
21 // Include Files |
21 // Include Files |
22 #include <SVGEngineInterfaceImpl.h> |
22 #include <SVGEngineInterfaceImpl.h> |
23 #include <SvgJavaInterfaceImpl.h> |
|
24 |
23 |
25 /** |
24 /** |
26 * CUpnpSvgImageConverter class acts as an intermediate between the invoker and the |
25 * CUpnpSvgImageConverter class acts as an intermediate between the invoker and the |
27 * actual converter.Class encapsulates svg to bitmap conversion process. |
26 * actual converter.Class encapsulates svg to bitmap conversion process. |
28 * Does all the pre-processing needed before invoking actual conversion API. |
27 * Does all the pre-processing needed before invoking actual conversion API. |
55 // Constructors |
54 // Constructors |
56 CUpnpSvgImageConverter( ); |
55 CUpnpSvgImageConverter( ); |
57 void ConstructL( TInt aIconWidth, TInt aIconHeight ); |
56 void ConstructL( TInt aIconWidth, TInt aIconHeight ); |
58 // Thread creation method |
57 // Thread creation method |
59 void StartThreadL( ); |
58 void StartThreadL( ); |
60 // "Getter" methods |
59 // "Getter" method to fetch file path |
61 RFs& FileSession( ); |
|
62 const TDesC& Filepath( )const; |
60 const TDesC& Filepath( )const; |
63 |
61 |
64 private: |
62 private: |
65 RFbsSession iFbsSession; |
63 RFbsSession iFbsSession; |
66 RFs iFileSession; |
64 RFs iFileSession; |
67 CFbsBitmap* iMask; |
65 CFbsBitmap* iMask; |
68 CSvgEngineInterfaceImpl* iSvgModule; |
66 CSvgEngineInterfaceImpl* iSvgModule; |
69 RBuf iBitMapFilePath; |
67 RBuf iBitMapFilePath; |
70 CFbsBitmap* iBitmap; |
68 CFbsBitmap* iBitmap; |
71 RFile iFile; |
|
72 }; |
69 }; |
73 |
70 |
74 #endif // __UPNPSVGIMAGECONVERTER_H__ |
71 #endif // __UPNPSVGIMAGECONVERTER_H__ |