uiacceltk/hitchcock/coretoolkit/inc/huiextension.h
branchRCL_3
changeset 3 d8a3531bc6b8
child 5 433cbbb6a04b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uiacceltk/hitchcock/coretoolkit/inc/huiextension.h	Mon Feb 22 17:57:49 2010 +0200
@@ -0,0 +1,52 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:   Internal extensions
+*
+*/
+
+
+
+#ifndef __HUIEXTENSION_H__
+#define __HUIEXTENSION_H__
+
+
+#include <e32std.h>
+
+// Uid for Query visual extension
+const TUid KHuiVisualQueryUid = { 0x2002C36B };
+
+// Parameter structure for Query visual extension
+struct THuiVisualQueryParams
+    {
+    enum TQueryType
+        {
+        // iResult contains canvas flags
+        EQueryCanvasFlags,
+        // iResult contains positive value if external content drawing enabled, 0 otherwise.
+        EQueryExternalContentDrawingEnabled,
+        // iResult contains positive value if this has something to draw, 0 otherwise.
+        EQueryHasDrawableContent
+        };
+
+    // Query type (in)
+    TQueryType iQueryType;
+        
+    // Result of query (out)
+    TInt iValue;
+    
+    // Error code (out). This should be filled with KErrNotSupported by caller and visual should modify to KErrNone.
+    TInt iResult;
+    };
+
+#endif // __HUIEXTENSION_H__