Chromium Code Reviews| Index: ppapi/cpp/dev/gamepad_dev.h |
| diff --git a/ppapi/cpp/dev/gamepad_dev.h b/ppapi/cpp/dev/gamepad_dev.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..19c269b2d79e31e6e74e129c5428b5b00e198184 |
| --- /dev/null |
| +++ b/ppapi/cpp/dev/gamepad_dev.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef PPAPI_CPP_GAMEPAD_DEV_H_ |
| +#define PPAPI_CPP_GAMEPAD_DEV_H_ |
| + |
| +struct PP_GamepadsData_Dev; |
| + |
| +namespace pp { |
| + |
| +class Instance; |
| + |
| +class Gamepad { |
| + public: |
| + Gamepad(Instance* instance); |
|
brettw
2012/01/05 22:50:04
This class doesn't actually do anything. Normally
scottmg
2012/01/06 00:54:21
Nuked.
|
| + virtual ~Gamepad(); |
| + |
| + // PPB_Gamepad methods. |
| + bool SampleGamepads(PP_GamepadsData_Dev* data); |
| + |
| + private: |
| + Instance* instance_; |
| +}; |
| + |
| +} // namespace pp |
| + |
| +#endif // PPAPI_CPP_GAMEPAD_DEV_H_ |