From f5340d31e3d0b4d2eca0963c1073e59861680ee0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 28 Aug 2015 11:57:58 +1000 Subject: [PATCH] Remove the old resolution/report rate getters/setters They already got removed from the library, only the declarations were left. Signed-off-by: Peter Hutterer --- src/libratbag.h | 56 ------------------------------------------------- 1 file changed, 56 deletions(-) diff --git a/src/libratbag.h b/src/libratbag.h index c659e672..bbb117fe 100644 --- a/src/libratbag.h +++ b/src/libratbag.h @@ -669,62 +669,6 @@ ratbag_resolution_set_default(struct ratbag_resolution *resolution); int ratbag_resolution_is_default(const struct ratbag_resolution *resolution); -/** - * @ingroup profile - * - * @param profile A previously initialized ratbag profile - * @return The current resolution in dots-per-inch. - * @retval 0 The resolution is unknown - */ -/* FIXME: remove me */ -int -ratbag_profile_get_resolution_dpi(const struct ratbag_profile *profile); - -/** - * @ingroup device - * - * Sets the current resolution to the given dpi. - * - * @note If the profile is the currently active profile, this may change the - * devices' behavior immediately. - * - * @param profile A previously initialized ratbag profile - * @param dpi The new resolution in dots-per-inch - * - * @return 0 on success or -1 on failure - */ -/* FIXME: remove me */ -int -ratbag_profile_set_resolution_dpi(struct ratbag_profile *profile, int dpi); - -/** - * @ingroup profile - * - * @param profile A previously initialized ratbag profile - * @return The current report rate in Hz - * @retval 0 The report rate is unknown - */ -/* FIXME: remove me */ -int -ratbag_profile_get_report_rate_hz(const struct ratbag_profile *profile); - -/** - * @ingroup profile - * - * Sets the current report rate to the given frequency in Hz. - * - * @note If the profile is the currently active profile, this may change the - * devices' behavior immediately. - * - * @param profile A previously initialized ratbag profile - * @param hz The new report rate in Hz - * - * @return 0 on success or -1 on failure - */ -/* FIXME: remove me */ -int -ratbag_profile_set_report_rate_hz(struct ratbag_profile *profile, int hz); - /** * @ingroup profile *