Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef PPAPI_CPP_GAMEPAD_DEV_H_ | |
| 6 #define PPAPI_CPP_GAMEPAD_DEV_H_ | |
| 7 | |
| 8 struct PP_GamepadsData_Dev; | |
| 9 | |
| 10 namespace pp { | |
| 11 | |
| 12 class Instance; | |
| 13 | |
| 14 class Gamepad { | |
| 15 public: | |
| 16 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.
| |
| 17 virtual ~Gamepad(); | |
| 18 | |
| 19 // PPB_Gamepad methods. | |
| 20 bool SampleGamepads(PP_GamepadsData_Dev* data); | |
| 21 | |
| 22 private: | |
| 23 Instance* instance_; | |
| 24 }; | |
| 25 | |
| 26 } // namespace pp | |
| 27 | |
| 28 #endif // PPAPI_CPP_GAMEPAD_DEV_H_ | |
| OLD | NEW |