Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * 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
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Screen Clearer API, support for screen blanking.
22 #include <AknControl.h>
26 class CAknScreenClearerBaseExtension;
29 * This class is base class for screen blanking.
31 * @since Series 60 0.9
33 class CAknScreenClearerBase : public CAknControl
38 * Handles situation when status pane size changes.
40 IMPORT_C void HandleStatusPaneSizeChangeL();
42 public: // from CCoeControl
47 IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);
54 IMPORT_C virtual ~CAknScreenClearerBase();
57 * Symbian 2nd phase constructor.
59 * @param aParent Parent window group.
60 * @param aOrdinalPos Ordinal position of the blank window.
61 * @param aBlankAppStatusPane A flag to decide if application status pane area is to blanked or not.
63 IMPORT_C void ConstructL(RWindowGroup& aParent, TInt aOrdinalPos, TBool aBlankAppStatusPane);
65 private: // from CCoeControl
70 IMPORT_C void Draw(const TRect& aRect) const;
72 private: // from CAknControl
76 IMPORT_C void* ExtensionInterface( TUid aInterface );
81 * Sets shape for the cleared window.
86 * Sets skin background and shape for the cleared window.
91 CAknScreenClearerBaseExtension* iExtension;
99 * This class is for use inside applications for screen blanking.
101 * @since Series 60 0.9
103 class CAknLocalScreenClearer : public CAknScreenClearerBase
108 * Two-phased constructor.
110 IMPORT_C static CAknLocalScreenClearer* NewLC();
113 * Two-phased constructor.
114 * @param aBlankAppStatusPane @c ETrue if application status pane is blank,
117 IMPORT_C static CAknLocalScreenClearer* NewLC(TBool aBlankAppStatusPane);
120 * Two-phased constructor.
121 * @param aBlankAppStatusPane @c ETrue if application status pane is blank,
124 IMPORT_C static CAknLocalScreenClearer* NewL(TBool aBlankAppStatusPane);
129 IMPORT_C void HandleResourceChange(TInt aType);
133 #endif // AKNCLEARER_H