00001 #include "nsISupports.idl" 00002 #include "tmozIException.idl" 00003 #include "tmozIDocumentRepositoryLock.idl" 00004 #include "nsISimpleEnumerator.idl" 00005 #include "tmozIPresentationManager.idl" 00006 #include "tmozIDocumentTypes.idl" 00007 00008 interface tmozIDocument; 00009 00023 [scriptable, uuid(98CB30CB-6282-4286-94D1-A77612919C2F) ] 00024 interface tmozIDocumentRepository: nsISupports 00025 { 00034 tmozIDocumentRepositoryLock lockRepository(); 00035 00041 readonly attribute tmozIDocumentTypes documentTypes; 00042 00049 readonly attribute tmozIPresentationManager presentationManager; 00050 00059 nsISimpleEnumerator createDocumentIterator(in tmozIDocumentRepositoryLock lock); 00060 00068 void destroyDocumentIterator(in tmozIDocumentRepositoryLock lock, in nsISimpleEnumerator iter); 00069 00074 tmozIDocument createDocument(in tmozIDocumentRepositoryLock lock, in AString docType); 00075 00085 boolean removeDocument( in tmozIDocumentRepositoryLock lock, in tmozIDocument document); 00086 };