From d0159fa123ab7621875ce682ee84afbef830854b Mon Sep 17 00:00:00 2001 From: "ben%netscape.com" Date: Sun, 28 Apr 2002 14:18:17 +0000 Subject: [PATCH] Add stub implementation for missing method --- camino/CHRDFOutlineViewDataSource.mm | 8 +++++++- camino/src/extensions/RDFOutlineViewDataSource.mm | 8 +++++++- chimera/CHRDFOutlineViewDataSource.mm | 8 +++++++- chimera/src/extensions/RDFOutlineViewDataSource.mm | 8 +++++++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/camino/CHRDFOutlineViewDataSource.mm b/camino/CHRDFOutlineViewDataSource.mm index 9d55fb626172..6f37b6659532 100644 --- a/camino/CHRDFOutlineViewDataSource.mm +++ b/camino/CHRDFOutlineViewDataSource.mm @@ -55,7 +55,7 @@ - (id) init { - if (self = [super init]) { + if ((self = [super init])) { nsCOMPtr ctr(do_CreateInstance("@mozilla.org/rdf/container;1")); NS_ADDREF(mContainer = ctr); @@ -127,6 +127,12 @@ return NO; } +// XXX write me +- (BOOL)outlineView: (NSOutlineView*) aOutlineView isItemExpandable: (id) aItem +{ + return NO; +} + - (id) outlineView: (NSOutlineView*) aOutlineView child: (int) aIndex ofItem: (id) aItem { diff --git a/camino/src/extensions/RDFOutlineViewDataSource.mm b/camino/src/extensions/RDFOutlineViewDataSource.mm index 9d55fb626172..6f37b6659532 100644 --- a/camino/src/extensions/RDFOutlineViewDataSource.mm +++ b/camino/src/extensions/RDFOutlineViewDataSource.mm @@ -55,7 +55,7 @@ - (id) init { - if (self = [super init]) { + if ((self = [super init])) { nsCOMPtr ctr(do_CreateInstance("@mozilla.org/rdf/container;1")); NS_ADDREF(mContainer = ctr); @@ -127,6 +127,12 @@ return NO; } +// XXX write me +- (BOOL)outlineView: (NSOutlineView*) aOutlineView isItemExpandable: (id) aItem +{ + return NO; +} + - (id) outlineView: (NSOutlineView*) aOutlineView child: (int) aIndex ofItem: (id) aItem { diff --git a/chimera/CHRDFOutlineViewDataSource.mm b/chimera/CHRDFOutlineViewDataSource.mm index 9d55fb626172..6f37b6659532 100644 --- a/chimera/CHRDFOutlineViewDataSource.mm +++ b/chimera/CHRDFOutlineViewDataSource.mm @@ -55,7 +55,7 @@ - (id) init { - if (self = [super init]) { + if ((self = [super init])) { nsCOMPtr ctr(do_CreateInstance("@mozilla.org/rdf/container;1")); NS_ADDREF(mContainer = ctr); @@ -127,6 +127,12 @@ return NO; } +// XXX write me +- (BOOL)outlineView: (NSOutlineView*) aOutlineView isItemExpandable: (id) aItem +{ + return NO; +} + - (id) outlineView: (NSOutlineView*) aOutlineView child: (int) aIndex ofItem: (id) aItem { diff --git a/chimera/src/extensions/RDFOutlineViewDataSource.mm b/chimera/src/extensions/RDFOutlineViewDataSource.mm index 9d55fb626172..6f37b6659532 100644 --- a/chimera/src/extensions/RDFOutlineViewDataSource.mm +++ b/chimera/src/extensions/RDFOutlineViewDataSource.mm @@ -55,7 +55,7 @@ - (id) init { - if (self = [super init]) { + if ((self = [super init])) { nsCOMPtr ctr(do_CreateInstance("@mozilla.org/rdf/container;1")); NS_ADDREF(mContainer = ctr); @@ -127,6 +127,12 @@ return NO; } +// XXX write me +- (BOOL)outlineView: (NSOutlineView*) aOutlineView isItemExpandable: (id) aItem +{ + return NO; +} + - (id) outlineView: (NSOutlineView*) aOutlineView child: (int) aIndex ofItem: (id) aItem {