OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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 DEVICE_GENERIC_SENSOR_IIO_SENSOR_DATA_IIO_H_ | |
6 #define DEVICE_GENERIC_SENSOR_IIO_SENSOR_DATA_IIO_H_ | |
7 | |
8 #include "device/generic_sensor/public/interfaces/sensor.mojom.h" | |
9 | |
10 namespace device { | |
11 | |
12 struct SensorDataIio { | |
Mikhail
2016/10/17 10:34:12
pls add description comments for the structure and
maksims (do not use this acc)
2016/10/18 06:50:42
Done.
| |
13 static const char* base_path_sensor_iio; | |
Mikhail
2016/10/17 10:34:11
does not have to be static
maksims (do not use this acc)
2016/10/18 06:50:42
Done.
| |
14 const char** sensor_file_names[3]; | |
15 size_t sensor_file_names_cols; | |
16 size_t sensor_file_names_rows; | |
17 mojom::ReportingMode reporting_mode; | |
18 PlatformSensorConfiguration default_configuration; | |
19 }; | |
20 | |
21 bool CreateSensorData(mojom::SensorType type, SensorDataIio* data); | |
Mikhail
2016/10/17 10:34:11
InitSensorData
maksims (do not use this acc)
2016/10/18 06:50:42
Done.
| |
22 | |
23 } // namespace device | |
24 | |
25 #endif // DEVICE_GENERIC_SENSOR_IIO_SENSOR_DATA_IIO_H_ | |
OLD | NEW |