My Project
IParaWebPlayer.h
1 #pragma once
2 #include "PEtypes.h"
3 
4 namespace NPL{
5  class INPLRuntime;
6 }
7 
8 namespace ParaEngine
9 {
12  {
13 
14  };
15 
19  {
20  public:
21  enum PWP_MSG_CODE{
22  PWP_FAILED_LOAD_PELIB,
23  PWP_FAILED_CREATE_PEAPP,
24  PWP_FAILED_START_PEAPP,
25  PWP_FAILED_CREATE_DEVICE,
26  PWP_FAILED_LOCATE_PARAENGINE_DIR,
27  PWP_FAILED_CREATE_PE_AUTOUPDATER,
28  };
30  virtual int GetVersion() = 0;
31 
33  virtual bool IsDebugging() = 0;
34 
38  virtual void FindParaEngineDirectory(const char* sHintDir) = 0;
39 
41  virtual int Start(const char* sCmdLine) = 0;
42 
53  virtual bool DoCoreUpdate() = 0;
54 
59  virtual bool BeginCoreUpdate(const char* sCurVersion, const char* sSessionDir) = 0;
60 
65  virtual bool TryGetNextCoreUpdateMessage() = 0;
66 
72  virtual void SetMainWindow(HWND hWnd) = 0;
73  virtual HWND GetMainWindow() = 0;
74 
78  virtual bool CustomWinProc(HWND hWnd, UINT uMsg, void* wParam, void* lParamm,void* lRes) = 0;
79 
81  // virtual IMessageSystem* GetMessageSystem() = 0;
82 
86  virtual void ActivateApp( bool bActivate) = 0;
87 
90  virtual void Release() = 0;
91 
95  virtual NPL::INPLRuntime* GetPlayerNPLRuntime() = 0;
96 
99  virtual void SetBrowserNPLSystem(NPL::INPLRuntime* pTarget) = 0;
100 
102  virtual void SetRedistDir(const char* sDir) = 0;
103  };
104 }
define this to enable debugging of NPL code in visual studio
Definition: INPL.h:9
ParaPhysics core interface.
Definition: IParaWebPlayer.h:18
different physics engine has different winding order.
Definition: EventBinding.h:32
NPL Runtime Environment interface.
Definition: INPLRuntime.h:30
player message
Definition: IParaWebPlayer.h:11