#include <native_player.h>
This is a main class for this application. It holds a classes responsible for communication and for controlling the player.
Definition at line 48 of file native_player.h.
NativePlayer::NativePlayer |
( |
PP_Instance |
instance | ) |
|
|
inlineexplicit |
A constructor.
- Parameters
-
[in] | instance | a class identifier for NaCl engine. |
Definition at line 52 of file native_player.h.
void NativePlayer::DidChangeView |
( |
const pp::View & |
view | ) |
|
|
override |
DidChangeView() handles initialization or changing viewport
- Parameters
-
[in] | view | new representation of vewport |
- See also
- pp::Instance
void NativePlayer::HandleMessage |
( |
const pp::Var & |
var_message | ) |
|
|
override |
HandleMessage() is a default method for handling messages from another modules in this application this functionality is redirected to UiMessageReceiver.
- Parameters
-
[in] | var_message | a container with received message |
- See also
- pp::Instance.
bool NativePlayer::Init |
( |
uint32_t |
, |
|
|
const char ** |
, |
|
|
const char ** |
|
|
) |
| |
|
override |
Method called for instancce initialization.
- See also
- pp::Instance
The documentation for this class was generated from the following file: