CGSBackgroundImage Class Reference
class CGSBackgroundImage : public CBase |
CGSBackgroundImage is the background image API class of GS app. It provides functions to get and set background image values.
Constructor & Destructor Documentation
CGSBackgroundImage()
CGSBackgroundImage | ( | ) | [private] |
~CGSBackgroundImage()
IMPORT_C | ~CGSBackgroundImage | ( | ) | |
Member Functions Documentation
BackgroundImageL()
IMPORT_C TInt | BackgroundImageL | ( | ) | |
Returns background image mode.
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
DeleteImageL(const TDesC &)
IMPORT_C void | DeleteImageL | ( | const TDesC & | aImagePath | ) | |
GetPlnsStatus()
IMPORT_C TInt | GetPlnsStatus | ( | ) | |
IsPersonalisationApplicationL()
IMPORT_C void | IsPersonalisationApplicationL | ( | ) | |
LoadImageL(const TDesC &, TInt, TInt, TBool, TGSWallpaperType)
SaveBitmapsL(TDes &, const TDesC &)
void | SaveBitmapsL | ( | TDes & | aBmpFileName, |
| const TDesC & | aOriginalFullname |
| ) | [private] |
Parameters
TDes & aBmpFileName | |
const TDesC & aOriginalFullname | |
SetBackgroundImageL(const TInt)
IMPORT_C void | SetBackgroundImageL | ( | const TInt | aImage | ) | |
Stores background image mode to shared data.
Parameters
const TInt aImage | Background image mode. |
SetBackgroundImagePathL(const TDesC &)
IMPORT_C void | SetBackgroundImagePathL | ( | const TDesC & | aImagePath | ) | |
Converts an idle background image to bitmap and scales it to fit the screen if necessary.
After successful conversion, the background image path is stored into shared data.
Parameters
const TDesC & aImagePath | Descriptor which contains the background image path. Max length is KGSMaxImagePath. |
SetBackgroundImagePathL(const TDesC &, TDes &)
IMPORT_C void | SetBackgroundImagePathL | ( | const TDesC & | aImagePath, |
| TDes & | aBmpFileName |
| ) | |
Converts an idle background image to bitmap, scales it to fit the screen if necessary, and stores it to the given file.
Background image path is not stored into shared data, but must be set separately.
Parameters
const TDesC & aImagePath | Descriptor which contains the background image path. Max length is KGSMaxImagePath. |
TDes & aBmpFileName | Descriptor which contains the bitmap file name. Converted image is again stored back in this variable. |
SetBackgroundImagePathL(const TDesC &, TDes &, TGSWallpaperType)
Converts the background image to bitmap, scales it to fit the screen if necessary, and stores it to the given file.
Background image path is not stored into shared data, but must be set separately.
Parameters
const TDesC & aImagePath | Descriptor which contains the background image path. Max length is KGSMaxImagePath. |
TDes & aBmpFileName | Descriptor which contains the bitmap file name. Converted image is again stored back in this variable. |
TGSWallpaperType aWallpaperType | Type of the wallpaper. |
SetVTStillImagePathL(const TDesC &, CGSAsyncImageHandling &)
Set the current image path for Still Image
SetWelcomeNoteImageL(const TDesC &, CGSAsyncImageHandling &)
Converts the welcome note image to bitmap, scales it to fit the screen if necessary. Stores the bitmap to mbm file. Stores welcome note image path to shared data.
Parameters
const TDesC & aImagePath | Descriptor which contains the welcome note image path. Max length is KGSMaxImagePath. |
CGSAsyncImageHandling & aImgHandler | |
Member Data Documentation
RSharedDataClient * iClient
RSharedDataClient * | iClient | [private] |
TDisplayMode
iDisplayMode
CGSAsyncImageHandling * iImgHandler
CRepository * iPersonalizationRepository
RPhCltServer
iPhoneClient
CRepository * iStartupConfRepository
CRepository * iTelephonyRepository
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.