javauis/lcdui_akn/lcdui/inc/CMIDDisplayable.h
branchRCL_3
changeset 77 7cee158cb8cd
parent 66 2455ef1f5bbc
child 83 26b2b12093af
--- a/javauis/lcdui_akn/lcdui/inc/CMIDDisplayable.h	Tue Sep 14 21:06:50 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/inc/CMIDDisplayable.h	Wed Sep 15 12:05:25 2010 +0300
@@ -267,12 +267,6 @@
     void RemoveDirectContentArea(const TRect& aRect);
 
     /**
-    Checks if there were some direct content area added
-    @return ETrue if there no DC Area has been added
-    */
-    TBool NoDirectContentAreaDefined();
-
-    /**
      * Sets popup style TextBox boolean value. Called by CMIDTextBoxDialogControl when
      * TextBox presentation is pop-up.
      *
@@ -345,6 +339,19 @@
      */
     void ReleaseOrientation();
 
+#ifdef RD_JAVA_NGA_ENABLED    
+    /**
+     * Gets the direct content areas that
+     * have been added to this displayable.
+     */
+    void GetDirectContentsRegion(RRegion& region) const;
+
+    /**
+     * Returns the number of direct content areas currently added to this displayable.
+     */
+    TInt DirectContentsCount() const;
+#endif
+
 private:
     // Construction and destruction
     CMIDDisplayable(MMIDEnv& aEnv,CMIDUIManager& aUIManager);
@@ -481,7 +488,7 @@
      * If content control is CMIDCanvas, returns pointer to it, NULL otherwise.
      * @since S60 9.2
      */
-    CMIDCanvas* GetContentCanvas();
+    CMIDCanvas* GetContentCanvas() const;
 
 private:
     CMIDAppUi* iAppUi;