mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Changed nsRDFTreeModel -> nsRDFTreeDataModel.
This commit is contained in:
parent
662cf58abd
commit
55e525154e
@ -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),
|
||||
|
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user