equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-2009 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: Alf visual utilities |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __GLXVISUALUTILITIES_H__ |
|
22 #define __GLXVISUALUTILITIES_H__ |
|
23 |
|
24 // EXTERNAL HEADERS |
|
25 #include <e32std.h> |
|
26 |
|
27 // FORWARD DECLARES |
|
28 class CHuiVisual; |
|
29 class CHuiControl; |
|
30 |
|
31 /** |
|
32 * Namespace to hold the CHuiVisual related algorithms. |
|
33 * |
|
34 * @author Kimmo Hoikka |
|
35 * @lib glxhuiutils.lib |
|
36 */ |
|
37 namespace NGlxVisualUtilities |
|
38 { |
|
39 /** |
|
40 * Method to transfer the ownership of CHuiVisuals to a new CHuiControl. |
|
41 * In case of a Leave the ownership is held in the old owner so the ownership transfer |
|
42 * succeeds either completely or not at all. |
|
43 * @param aVisual reference to the topmost visual in the hierarchy |
|
44 * @param aNewParent the new parent to be applied to all visuals in the hierarchy |
|
45 */ |
|
46 IMPORT_C void TransferVisualsL( CHuiVisual& aVisual, CHuiControl& aNewParent ); |
|
47 } |
|
48 |
|
49 #endif // __GLXVISUALUTILITIES_H__ |