blob: 0858ecbae03054917f1a2a0b05373fcc1c65d5dd [file] [log] [blame]
Siarhei Vishniakoua0e7f732018-01-17 11:49:04 -08001/*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef ANDROID_HARDWARE_INPUT_CLASSIFIER_V1_0_INPUTCLASSIFIER_H
18#define ANDROID_HARDWARE_INPUT_CLASSIFIER_V1_0_INPUTCLASSIFIER_H
19
20#include <android/hardware/input/classifier/1.0/IInputClassifier.h>
21#include <hidl/Status.h>
22
23namespace android {
24namespace hardware {
25namespace input {
26namespace classifier {
27namespace V1_0 {
28namespace implementation {
29
30using ::android::hardware::Return;
31
32struct InputClassifier : public IInputClassifier {
33 // Methods from ::android::hardware::input::classifier::V1_0::IInputClassifier follow.
34 Return<Classification> classify(
35 const ::android::hardware::input::classifier::V1_0::MotionEvent& event) override;
36};
37
38} // namespace implementation
39} // namespace V1_0
40} // namespace classifier
41} // namespace input
42} // namespace hardware
43} // namespace android
44
45#endif // ANDROID_HARDWARE_INPUT_CLASSIFIER_V1_0_INPUTCLASSIFIER_H