Guest User

Untitled

a guest
Jan 15th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. #include "nsISupports.idl"
  2.  
  3. [scriptable, uuid(4ead-ba5c-49c9-beb2=64209c7699a)]
  4. interface nsIPageSummary : nsISupports
  5. {
  6. boolean saveSummary(in nsIDOMDocument document,
  7. out unsigned long numLinks,
  8. out unsigned long numImages);
  9. };
  10.  
  11. $ ~/xulrunner-sdk/sdk/bin/header.py --cachedir=~/xulrunner-sdk/idl -o nsIPageSummary.h nsIPageSummary.idl
  12. Traceback (most recent call last):
  13. File "~/xulrunner/xulrunner-sdk/sdk/bin/header.py", line 497, in <module>
  14. idl.resolve(options.incdirs, p)
  15. File "~/xulrunner/xulrunner-sdk/sdk/bin/xpidl.py", line 285, in resolve
  16. p.resolve(self)
  17. File "~/xulrunner-sdk/sdk/bin/xpidl.py", line 255, in resolve
  18. raise IDLError("File '%s' not found" % self.filename, self.location)
  19. xpidl.IDLError: error: File 'nsISupports.idl' not found, nsIPageSummary.idl line 1:0
  20. #include "nsISupports.idl"
  21.  
  22. ~/xulrunner-sdk/sdk/bin/header.py -I ~/xulrunner-sdk/idl/ ...
Add Comment
Please, Sign In to add comment