00001 #include "nsISupports.idl" 00002 #include "tmozIException.idl" 00003 00004 interface tmozIObjectView; 00005 00016 [scriptable, uuid(607d594b-22af-4af2-8e0a-79f00457e6f7) ] 00017 interface tmozIViewObject: nsISupports 00018 { 00025 readonly attribute tmozIObjectView view; 00026 00034 readonly attribute AString mimeType; 00035 00041 readonly attribute AString name; 00042 00052 boolean register(in tmozIObjectView ovi); 00053 00059 boolean unRegister(); 00060 00069 boolean closeView(); 00070 00088 boolean getDataSource(out AString fileName); 00089 00098 boolean getDataCopy(out AString fileName, in tmozIException tmozException); 00099 00112 boolean updateData(in AString fileName, in boolean changeType); 00113 };