~thomas-voss/platform-api/no-change-rebuild

« back to all changes in this revision

Viewing changes to include/ubuntu/application/sensors/light.h

  • Committer: Manuel de la Peña
  • Date: 2014-05-08 10:17:29 UTC
  • mfrom: (192.1.9 papi-4.8)
  • mto: (217.1.1 gps-mandel)
  • mto: This revision was merged to the branch mainline in revision 219.
  • Revision ID: manuel.delapena@canonical.com-20140508101729-xvyr0atcdfnmp31m
Move to gcc 4.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
     * \returns The minimum value that can be reported by the sensor.
86
86
     * \param[in] sensor The sensor instance to be queried.
87
87
     */
88
 
    UBUNTU_DLL_PUBLIC float
 
88
    UBUNTU_DLL_PUBLIC UStatus
89
89
    ua_sensors_light_get_min_value(
90
 
        UASensorsLight* sensor);
 
90
        UASensorsLight* sensor,
 
91
        float* value);
91
92
 
92
93
    /**
93
94
     * \brief Queries the maximum value that can be reported by the sensor.
95
96
     * \returns The maximum value that can be reported by the sensor.
96
97
     * \param[in] sensor The sensor instance to be queried.
97
98
     */
98
 
    UBUNTU_DLL_PUBLIC float
 
99
    UBUNTU_DLL_PUBLIC UStatus
99
100
    ua_sensors_light_get_max_value(
100
 
        UASensorsLight* sensor);
 
101
        UASensorsLight* sensor,
 
102
        float* value);
101
103
 
102
104
    /**
103
105
     * \brief Queries the numeric resolution supported by the sensor
105
107
     * \returns The numeric resolution supported by the sensor.
106
108
     * \param[in] sensor The sensor instance to be queried.
107
109
     */
108
 
    UBUNTU_DLL_PUBLIC float
 
110
    UBUNTU_DLL_PUBLIC UStatus
109
111
    ua_sensors_light_get_resolution(
110
 
        UASensorsLight* sensor);
 
112
        UASensorsLight* sensor,
 
113
        float* value);
111
114
 
112
115
    /**
113
116
     * \brief Set the callback to be invoked whenever a new sensor reading is available.