webviewarchivehandler.h 1012 B

12345678910111213141516171819202122232425262728293031
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: webviewarchivehandler.h
  3. // Purpose: interface of wxWebViewArchiveHandler
  4. // Author: wxWidgets team
  5. // Licence: wxWindows licence
  6. /////////////////////////////////////////////////////////////////////////////
  7. /**
  8. @class wxWebViewArchiveHandler
  9. A custom handler for the file scheme which also supports loading from
  10. archives. The syntax for wxWebViewArchiveHandler differs from virtual file
  11. systems in the rest of wxWidgets by using a syntax such as
  12. <code> scheme:///C:/example/docs.zip;protocol=zip/main.htm </code>
  13. Currently the only supported protocol is @c zip.
  14. @since 2.9.3
  15. @library{wxwebview}
  16. @category{webview}
  17. @see wxWebView, wxWebViewHandler
  18. */
  19. class wxWebViewArchiveHandler : public wxWebViewHandler
  20. {
  21. public:
  22. /**
  23. Constructor.
  24. */
  25. wxWebViewArchiveHandler(const wxString& scheme);
  26. virtual wxFSFile* GetFile(const wxString &uri);
  27. };