From 44a586b358517a2d4ee2cb863d53021acd38cdbc Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Mon, 16 Nov 1998 20:11:06 +0000 Subject: [PATCH] Added SetOpenState. git-svn-id: svn://10.0.0.236/trunk@14748 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/public/nsIDMItem.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/widget/public/nsIDMItem.h b/mozilla/widget/public/nsIDMItem.h index 7af870dff6d..bed21dab95b 100644 --- a/mozilla/widget/public/nsIDMItem.h +++ b/mozilla/widget/public/nsIDMItem.h @@ -40,10 +40,14 @@ public: // Methods for iterating over children. NS_IMETHOD GetChildCount(PRUint32& count) const = 0; NS_IMETHOD GetNthChild(nsIDMItem*& pItem, PRUint32 item) const = 0; + NS_IMETHOD GetSubtreeSize(PRUint32& size) const = 0; // Parent access NS_IMETHOD GetParent(nsIDMItem*& pItem) const = 0; + // Setters + NS_IMETHOD SetOpenState(PRBool state) = 0; + // Methods to query the data model for a specific item displayed within the widget. NS_IMETHOD GetStringPropertyValue(nsString& value, const nsString& itemProperty) const = 0; NS_IMETHOD GetIntPropertyValue(PRInt32& value, const nsString& itemProperty) const = 0;