This commit is contained in:
ben%netscape.com 2002-04-29 10:27:55 +00:00
Родитель 9305e25ff3
Коммит db22759557
8 изменённых файлов: 196 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,17 @@
//
// CHHistoryDataSource.h
// Chimera
//
// Created by Ben Goodger on Sun Apr 28 2002.
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CHRDFOutlineViewDataSource.h"
@interface CHHistoryDataSource : CHRDFOutlineViewDataSource {
}
@end

Просмотреть файл

@ -0,0 +1,32 @@
//
// CHHistoryDataSource.mm
// Chimera
//
// Created by Ben Goodger on Sun Apr 28 2002.
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//
#import "CHHistoryDataSource.h"
#include "nsIRDFService.h"
#include "nsIRDFDataSource.h"
#include "nsIRDFResource.h"
#include "nsComponentManagerUtils.h"
@implementation CHHistoryDataSource
- (void) ensureDataSourceLoaded
{
[super ensureDataSourceLoaded];
// Get the Global History DataSource
mRDFService->GetDataSource("rdf:history", &mDataSource);
// Get the Date Folder Root
mRDFService->GetResource("NC:HistoryByDate", &mRootResource);
[mOutlineView setTarget: self];
[mOutlineView reloadData];
}
@end

Просмотреть файл

@ -0,0 +1,17 @@
//
// CHHistoryDataSource.h
// Chimera
//
// Created by Ben Goodger on Sun Apr 28 2002.
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CHRDFOutlineViewDataSource.h"
@interface CHHistoryDataSource : CHRDFOutlineViewDataSource {
}
@end

Просмотреть файл

@ -0,0 +1,32 @@
//
// CHHistoryDataSource.mm
// Chimera
//
// Created by Ben Goodger on Sun Apr 28 2002.
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//
#import "CHHistoryDataSource.h"
#include "nsIRDFService.h"
#include "nsIRDFDataSource.h"
#include "nsIRDFResource.h"
#include "nsComponentManagerUtils.h"
@implementation CHHistoryDataSource
- (void) ensureDataSourceLoaded
{
[super ensureDataSourceLoaded];
// Get the Global History DataSource
mRDFService->GetDataSource("rdf:history", &mDataSource);
// Get the Date Folder Root
mRDFService->GetResource("NC:HistoryByDate", &mRootResource);
[mOutlineView setTarget: self];
[mOutlineView reloadData];
}
@end

Просмотреть файл

@ -0,0 +1,17 @@
//
// CHHistoryDataSource.h
// Chimera
//
// Created by Ben Goodger on Sun Apr 28 2002.
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CHRDFOutlineViewDataSource.h"
@interface CHHistoryDataSource : CHRDFOutlineViewDataSource {
}
@end

Просмотреть файл

@ -0,0 +1,32 @@
//
// CHHistoryDataSource.mm
// Chimera
//
// Created by Ben Goodger on Sun Apr 28 2002.
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//
#import "CHHistoryDataSource.h"
#include "nsIRDFService.h"
#include "nsIRDFDataSource.h"
#include "nsIRDFResource.h"
#include "nsComponentManagerUtils.h"
@implementation CHHistoryDataSource
- (void) ensureDataSourceLoaded
{
[super ensureDataSourceLoaded];
// Get the Global History DataSource
mRDFService->GetDataSource("rdf:history", &mDataSource);
// Get the Date Folder Root
mRDFService->GetResource("NC:HistoryByDate", &mRootResource);
[mOutlineView setTarget: self];
[mOutlineView reloadData];
}
@end

Просмотреть файл

@ -0,0 +1,17 @@
//
// CHHistoryDataSource.h
// Chimera
//
// Created by Ben Goodger on Sun Apr 28 2002.
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CHRDFOutlineViewDataSource.h"
@interface CHHistoryDataSource : CHRDFOutlineViewDataSource {
}
@end

Просмотреть файл

@ -0,0 +1,32 @@
//
// CHHistoryDataSource.mm
// Chimera
//
// Created by Ben Goodger on Sun Apr 28 2002.
// Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//
#import "CHHistoryDataSource.h"
#include "nsIRDFService.h"
#include "nsIRDFDataSource.h"
#include "nsIRDFResource.h"
#include "nsComponentManagerUtils.h"
@implementation CHHistoryDataSource
- (void) ensureDataSourceLoaded
{
[super ensureDataSourceLoaded];
// Get the Global History DataSource
mRDFService->GetDataSource("rdf:history", &mDataSource);
// Get the Date Folder Root
mRDFService->GetResource("NC:HistoryByDate", &mRootResource);
[mOutlineView setTarget: self];
[mOutlineView reloadData];
}
@end