#include "nsISupports.idl"

interface celtxIProject;
interface nsIRDFResource;

[scriptable, uuid(050e6796-365d-486d-b0e1-24aa86808dfa)]
interface celtxIDocument : nsISupports
{
  /* readonly attribute nsIRDFDataSource ds; */
  readonly attribute celtxIProject project;
  readonly attribute nsIRDFResource resource;

  attribute DOMString title;

  void init (in celtxIProject aProject, in nsIRDFResource aResource);
};
