OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 #include "ui/events/ozone/evdev/gestures/gesture_property_provider.h" |
| 6 |
| 7 #include <gestures/gestures.h> |
| 8 |
| 9 #include "base/logging.h" |
| 10 |
| 11 namespace ui { |
| 12 |
| 13 namespace { |
| 14 |
| 15 void Prop_Free(void* priv, GesturesProp* prop) { NOTIMPLEMENTED(); } |
| 16 |
| 17 GesturesProp* PropCreate_Int(void* priv, |
| 18 const char* name, |
| 19 int* val, |
| 20 size_t count, |
| 21 const int* init) { |
| 22 NOTIMPLEMENTED(); |
| 23 return NULL; |
| 24 } |
| 25 |
| 26 GesturesProp* PropCreate_Short(void* priv, |
| 27 const char* name, |
| 28 short* val, |
| 29 size_t count, |
| 30 const short* init) { |
| 31 NOTIMPLEMENTED(); |
| 32 return NULL; |
| 33 } |
| 34 |
| 35 GesturesProp* PropCreate_Bool(void* priv, |
| 36 const char* name, |
| 37 GesturesPropBool* val, |
| 38 size_t count, |
| 39 const GesturesPropBool* init) { |
| 40 NOTIMPLEMENTED(); |
| 41 return NULL; |
| 42 } |
| 43 |
| 44 GesturesProp* PropCreate_String(void* priv, |
| 45 const char* name, |
| 46 const char** val, |
| 47 const char* init) { |
| 48 NOTIMPLEMENTED(); |
| 49 return NULL; |
| 50 } |
| 51 |
| 52 GesturesProp* PropCreate_Real(void* priv, |
| 53 const char* name, |
| 54 double* val, |
| 55 size_t count, |
| 56 const double* init) { |
| 57 NOTIMPLEMENTED(); |
| 58 return NULL; |
| 59 } |
| 60 |
| 61 void Prop_RegisterHandlers(void* priv, |
| 62 GesturesProp* prop, |
| 63 void* handler_data, |
| 64 GesturesPropGetHandler get, |
| 65 GesturesPropSetHandler set) { |
| 66 NOTIMPLEMENTED(); |
| 67 } |
| 68 |
| 69 } // namespace |
| 70 |
| 71 const GesturesPropProvider kGesturePropertyProvider = { |
| 72 PropCreate_Int, PropCreate_Short, PropCreate_Bool, PropCreate_String, |
| 73 PropCreate_Real, Prop_RegisterHandlers, Prop_Free}; |
| 74 |
| 75 } // namespace ui |
OLD | NEW |