aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-coopgamma.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-coopgamma.h')
-rw-r--r--src/gamma-coopgamma.h41
1 files changed, 2 insertions, 39 deletions
diff --git a/src/gamma-coopgamma.h b/src/gamma-coopgamma.h
index 2fd65d3..a46f863 100644
--- a/src/gamma-coopgamma.h
+++ b/src/gamma-coopgamma.h
@@ -14,7 +14,7 @@
You should have received a copy of the GNU General Public License
along with Redshift. If not, see <http://www.gnu.org/licenses/>.
- Copyright (c) 2016 Mattias Andrée <maandree@member.fsf.org>
+ Copyright (c) 2016, 2025 Mattias Andrée <m@maandree.se>
*/
#ifndef REDSHIFT_GAMMA_COOPGAMMA_H
@@ -24,43 +24,6 @@
#include "redshift.h"
-
-typedef struct {
- char *edid;
- size_t index;
-} coopgamma_output_id_t;
-
-typedef struct {
- libcoopgamma_filter_t filter;
- libcoopgamma_ramps_t plain_ramps;
- size_t rampsize;
-} coopgamma_crtc_state_t;
-
-typedef struct {
- libcoopgamma_context_t ctx;
- coopgamma_crtc_state_t *crtcs;
- size_t n_crtcs;
- char **methods;
- char *method;
- char *site;
- int64_t priority;
- int list_outputs;
- coopgamma_output_id_t *outputs;
- size_t n_outputs;
- size_t a_outputs;
-} coopgamma_state_t;
-
-
-int coopgamma_init(coopgamma_state_t *state);
-int coopgamma_start(coopgamma_state_t *state, program_mode_t mode);
-void coopgamma_free(coopgamma_state_t *state);
-
-void coopgamma_print_help(FILE *f);
-int coopgamma_set_option(coopgamma_state_t *state, const char *key, const char *value);
-
-void coopgamma_restore(coopgamma_state_t *state);
-int coopgamma_set_temperature(coopgamma_state_t *state,
- const color_setting_t *setting);
-
+extern const gamma_method_t coopgamma_gamma_method;
#endif /* ! REDSHIFT_GAMMA_COOPGAMMA_H */