uiacceltk/hitchcock/coretoolkit/inc/huiextension.h
branchRCL_3
changeset 3 d8a3531bc6b8
child 7 433cbbb6a04b
equal deleted inserted replaced
0:15bf7259bb7c 3:d8a3531bc6b8
       
     1 /*
       
     2 * Copyright (c) 2010 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:   Internal extensions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __HUIEXTENSION_H__
       
    21 #define __HUIEXTENSION_H__
       
    22 
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 // Uid for Query visual extension
       
    27 const TUid KHuiVisualQueryUid = { 0x2002C36B };
       
    28 
       
    29 // Parameter structure for Query visual extension
       
    30 struct THuiVisualQueryParams
       
    31     {
       
    32     enum TQueryType
       
    33         {
       
    34         // iResult contains canvas flags
       
    35         EQueryCanvasFlags,
       
    36         // iResult contains positive value if external content drawing enabled, 0 otherwise.
       
    37         EQueryExternalContentDrawingEnabled,
       
    38         // iResult contains positive value if this has something to draw, 0 otherwise.
       
    39         EQueryHasDrawableContent
       
    40         };
       
    41 
       
    42     // Query type (in)
       
    43     TQueryType iQueryType;
       
    44         
       
    45     // Result of query (out)
       
    46     TInt iValue;
       
    47     
       
    48     // Error code (out). This should be filled with KErrNotSupported by caller and visual should modify to KErrNone.
       
    49     TInt iResult;
       
    50     };
       
    51 
       
    52 #endif // __HUIEXTENSION_H__