зеркало из https://github.com/mozilla/pjs.git
41 строка
1.5 KiB
Plaintext
41 строка
1.5 KiB
Plaintext
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
*
|
|
* The contents of this file are subject to the Netscape Public License
|
|
* Version 1.0 (the "NPL"); you may not use this file except in
|
|
* compliance with the NPL. You may obtain a copy of the NPL at
|
|
* http://www.mozilla.org/NPL/
|
|
*
|
|
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
* for the specific language governing rights and limitations under the
|
|
* NPL.
|
|
*
|
|
* The Initial Developer of this code under the NPL is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
* Reserved.
|
|
*/
|
|
|
|
#include "nsISupports.idl"
|
|
#include "nsIRDFResource.idl"
|
|
#include "nsIRDFNode.idl"
|
|
|
|
// An nsIRDFObserver object is an observer that will be notified
|
|
// when assertions are made or removed from a datasource
|
|
[scriptable, uuid(3CC75360-484A-11D2-BC16-00805F912FE7)]
|
|
interface nsIRDFObserver : nsISupports {
|
|
// This method is called whenever a new assertion is made
|
|
// in the data source
|
|
void OnAssert(in nsIRDFResource aSource,
|
|
in nsIRDFResource aLabel,
|
|
in nsIRDFNode aTarget);
|
|
|
|
// This method is called whenever an assertion is removed
|
|
// from the data source
|
|
void OnUnassert(in nsIRDFResource aSource,
|
|
in nsIRDFResource aLabel,
|
|
in nsIRDFNode aTarget);
|
|
};
|
|
|
|
|