1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
17 #if !defined(__GULICON_H__)
20 #if !defined(__E32BASE_H__)
26 class CGulIcon : public CBase
27 /** Packages two bitmaps, one each for an icon image and its mask.
33 IMPORT_C static CGulIcon* NewLC();
34 IMPORT_C static CGulIcon* NewL();
35 IMPORT_C static CGulIcon* NewL(CFbsBitmap* aBitmap, CFbsBitmap* aMask=NULL);
37 IMPORT_C void SetBitmap(CFbsBitmap* aBitmap);
38 IMPORT_C void SetMask(CFbsBitmap* aMask);
39 IMPORT_C CFbsBitmap* Bitmap() const;
40 IMPORT_C CFbsBitmap* Mask() const;
41 IMPORT_C void SetBitmapsOwnedExternally(TBool aOwnedExternally);
42 IMPORT_C TBool BitmapsOwnedExternally() const;
50 TBool iBitmapsOwnedExternally;