Changed nsRDFTreeModel -> nsRDFTreeDataModel.

This commit is contained in:
waterson%netscape.com 1998-11-11 19:59:50 +00:00
parent 662cf58abd
commit 55e525154e
2 changed files with 12 additions and 10 deletions

View File

@ -17,6 +17,7 @@
*/
#include "nsRDFTreeDataModelItem.h"
#include "nsRDFTreeDataModel.h"
const PRUint32 nsRDFTreeDataModelItem::kInvalidIndentationLevel = PRUint32(-1);
@ -24,7 +25,7 @@ static NS_DEFINE_IID(kITreeDMItemIID, NS_ITREEDMITEM_IID);
////////////////////////////////////////////////////////////////////////
nsRDFTreeDataModelItem::nsRDFTreeDataModelItem(nsRDFTreeModel& tree, RDF_Resource& resource)
nsRDFTreeDataModelItem::nsRDFTreeDataModelItem(nsRDFTreeDataModel& tree, RDF_Resource& resource)
: nsRDFDataModelItem(resource),
mTree(tree),
mOpen(PR_FALSE),

View File

@ -17,20 +17,20 @@
*/
#ifndef nsRDFTreeItem_h__
#define nsRDFTreeItem_h__
#ifndef nsRDFTreeDataModelItem_h__
#define nsRDFTreeDataModelItem_h__
#include "rdf.h"
#include "nsRDFDataModelItem.h"
#include "nsITreeDMItem.h"
class nsRDFTreeModel;
class nsRDFTreeDataModel;
////////////////////////////////////////////////////////////////////////
class nsRDFTreeDataModelItem : public nsRDFDataModelItem, nsITreeDMItem {
public:
nsRDFTreeDataModelItem(nsRDFTreeModel& tree, RDF_Resource& resource);
nsRDFTreeDataModelItem(nsRDFTreeDataModel& tree, RDF_Resource& resource);
virtual ~nsRDFTreeDataModelItem(void);
////////////////////////////////////////////////////////////////////////
@ -55,14 +55,15 @@ public:
private:
nsRDFTreeModel& mTree;
PRBool mOpen;
PRBool mEnabled;
mutable PRUint32 mCachedIndentationLevel;
nsRDFTreeDataModel& mTree;
PRBool mOpen;
PRBool mEnabled;
mutable PRUint32 mCachedIndentationLevel;
static const PRUint32 kInvalidIndentationLevel;
};
////////////////////////////////////////////////////////////////////////
#endif // nsRDFDataModelItem_h__
#endif // nsRDFTreeDataModelItem_h__