Ben Fennema | fe2188f | 2016-03-03 01:06:40 +0000 | [diff] [blame] | 1 | /* |
Zhengyin Qian | e96ece7 | 2016-07-29 14:00:29 -0700 | [diff] [blame] | 2 | * Copyright (C) 2016 The Android Open Source Project |
Ben Fennema | fe2188f | 2016-03-03 01:06:40 +0000 | [diff] [blame] | 3 | * |
Zhengyin Qian | e96ece7 | 2016-07-29 14:00:29 -0700 | [diff] [blame] | 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 |
Ben Fennema | fe2188f | 2016-03-03 01:06:40 +0000 | [diff] [blame] | 7 | * |
Zhengyin Qian | e96ece7 | 2016-07-29 14:00:29 -0700 | [diff] [blame] | 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. |
Ben Fennema | fe2188f | 2016-03-03 01:06:40 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
Ben Fennema | fe2188f | 2016-03-03 01:06:40 +0000 | [diff] [blame] | 17 | #ifndef _NANOHUB_PER_DEVICE_H_ |
| 18 | #define _NANOHUB_PER_DEVICE_H_ |
| 19 | |
| 20 | #include <hardware/context_hub.h> |
| 21 | |
Alexey Polyudov | 96177b0 | 2016-04-11 15:12:05 -0700 | [diff] [blame] | 22 | namespace android { |
| 23 | |
| 24 | namespace nanohub { |
| 25 | |
Ben Fennema | fe2188f | 2016-03-03 01:06:40 +0000 | [diff] [blame] | 26 | const struct context_hub_t* get_hub_info(void); |
| 27 | const char *get_devnode_path(void); |
| 28 | |
Alexey Polyudov | 96177b0 | 2016-04-11 15:12:05 -0700 | [diff] [blame] | 29 | }; // namespace nanohub |
| 30 | |
| 31 | }; // namespace android |
Ben Fennema | fe2188f | 2016-03-03 01:06:40 +0000 | [diff] [blame] | 32 | |
| 33 | #endif |