| Index: native_client_sdk/src/examples/api/gamepad/gamepad.h
|
| diff --git a/native_client_sdk/src/examples/api/gamepad/gamepad.h b/native_client_sdk/src/examples/api/gamepad/gamepad.h
|
| index 67649e0e48e8fab9648578112ea4fa4b58956ba2..fec69748e3803519ae3a40d8386f8df2fbb6e3bd 100644
|
| --- a/native_client_sdk/src/examples/api/gamepad/gamepad.h
|
| +++ b/native_client_sdk/src/examples/api/gamepad/gamepad.h
|
| @@ -14,18 +14,10 @@
|
| #include "ppapi/cpp/rect.h"
|
| #include "ppapi/cpp/size.h"
|
|
|
| -namespace gamepad {
|
| -
|
| -// The Instance class. One of these exists for each instance of your NaCl
|
| -// module on the web page. The browser will ask the Module object to create
|
| -// a new Instance for each occurrence of the <embed> tag that has these
|
| -// attributes:
|
| -// type="application/x-nacl"
|
| -// nacl="pi_generator.nmf"
|
| -class Gamepad : public pp::Instance {
|
| +class GamepadInstance : public pp::Instance {
|
| public:
|
| - explicit Gamepad(PP_Instance instance);
|
| - virtual ~Gamepad();
|
| + explicit GamepadInstance(PP_Instance instance);
|
| + virtual ~GamepadInstance();
|
|
|
| // Update the graphics context to the new size, and regenerate |pixel_buffer_|
|
| // to fit the new size as well.
|
| @@ -67,6 +59,4 @@ class Gamepad : public pp::Instance {
|
| bool quit_;
|
| };
|
|
|
| -} // namespace gamepad
|
| -
|
| #endif // EXAMPLES_GAMEPAD_GAMEPAD_H_
|
|
|