My Project
ParaScriptingBrowserManager.h
1 #pragma once
2 #include "ParaScriptingHTMLBrowser.h"
3 
4 namespace ParaScripting
5 {
6  using namespace luabind;
7  using namespace ParaEngine;
8 
13  class PE_CORE_DECL ParaBrowserManager
14  {
15  public:
19  static ParaHTMLBrowser GetBrowserWindow(const char* sFileName);
20 
24  static ParaHTMLBrowser GetBrowserWindow1(int nWindowID);
25 
29  static ParaHTMLBrowser createBrowserWindow(const char* sFileName, int browserWindowWidth, int browserWindowHeight);
30 
32  // house keeping
33  static bool reset();
34  static bool clearCache();
35  static int getLastError();
36  static const char* getVersion();
37 
38  // how many browsers can be opened at the same time
39  static int GetMaxWindowNum();
40  static void SetMaxWindowNum(int nNum);
41 
43  // event
44 
51  static void onPageChanged(const object& strScriptName);
58  static void onNavigateBegin(const object& strScriptName);
65  static void onNavigateComplete(const object& strScriptName);
72  static void onUpdateProgress(const object& strScriptName);
79  static void onStatusTextChange(const object& strScriptName);
86  static void onLocationChange(const object& strScriptName);
93  static void onClickLinkHref(const object& strScriptName);
94  };
95 }
different physics engine has different winding order.
Definition: EventBinding.h:32
a HTML browser control and texture
Definition: ParaScriptingHTMLBrowser.h:11
Definition: PEtypes.h:507
managing HTML browsers
Definition: ParaScriptingBrowserManager.h:13
for luabind, The main drawback of this approach is that the compilation time will increase for the fi...
Definition: luaSQLite.cpp:1971