c_browser.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __C_BROWSER_H
  3. #define __C_BROWSER_H
  4. #include "c_guiobject.h"
  5. #define C_BROWSER_PARENT C_GuiObject
  6. class C_Browser : public C_BROWSER_PARENT {
  7. public:
  8. C_Browser(ScriptObject *object);
  9. C_Browser();
  10. virtual ~C_Browser();
  11. virtual void C_hook(ScriptObject *o);
  12. ScriptObject *getScriptObject();
  13. virtual void navigateUrl(const wchar_t *url);
  14. virtual void back();
  15. virtual void forward();
  16. virtual void stop();
  17. virtual void refresh();
  18. virtual void home();
  19. virtual void setTargetName(const wchar_t *targetname);
  20. virtual int onBeforeNavigate(const wchar_t *url, int flags, const wchar_t *targetframename);
  21. virtual void onDocumentComplete(const wchar_t *url);
  22. virtual void onMediaLink(const wchar_t *url);
  23. private:
  24. ScriptObject *obj;
  25. int inited;
  26. static int loaded;
  27. static int navigateurl_id;
  28. static int back_id;
  29. static int forward_id;
  30. static int stop_id;
  31. static int refresh_id;
  32. static int home_id;
  33. static int settargetname_id;
  34. static int onbeforenavigate_id;
  35. static int ondocumentcomplete_id;
  36. static int onmedialink_id;
  37. };
  38. #endif