summaryrefslogtreecommitdiffstats
path: root/chromium/ui/events/ozone/evdev/libgestures_glue/gesture_logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/events/ozone/evdev/libgestures_glue/gesture_logging.h')
-rw-r--r--chromium/ui/events/ozone/evdev/libgestures_glue/gesture_logging.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/ui/events/ozone/evdev/libgestures_glue/gesture_logging.h b/chromium/ui/events/ozone/evdev/libgestures_glue/gesture_logging.h
new file mode 100644
index 00000000000..a5f543556ab
--- /dev/null
+++ b/chromium/ui/events/ozone/evdev/libgestures_glue/gesture_logging.h
@@ -0,0 +1,15 @@
+// Copyright 2014 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 UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_LOGGING_H_
+#define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_LOGGING_H_
+
+// libgestures.so binds to this function for logging.
+// TODO(spang): Fix libgestures to not require this.
+extern "C"
+ __attribute__((visibility("default"))) void gestures_log(int verb,
+ const char* fmt,
+ ...);
+
+#endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_LOGGING_H_