Remove commented out code.
[geeqie.git] / src / color-man.h
index e659bf3..2082330 100644 (file)
@@ -1,6 +1,7 @@
 /*
- * GQview
+ * Geeqie
  * (C) 2006 John Ellis
+ * Copyright (C) 2008 - 2012 The Geeqie Team
  *
  * Author: John Ellis
  *
 #define COLOR_MAN_H
 
 typedef enum {
-       COLOR_PROFILE_NONE = 0,
+       COLOR_PROFILE_NONE = -1,
+       COLOR_PROFILE_MEM = -2,
+       COLOR_PROFILE_SRGB = 0,
+       COLOR_PROFILE_ADOBERGB,
        COLOR_PROFILE_FILE,
-       COLOR_PROFILE_SRGB,
-       COLOR_PROFILE_MEM
 } ColorManProfileType;
 
 typedef enum {
@@ -38,7 +40,7 @@ struct _ColorMan {
 
        gpointer profile;
 
-       gint idle_id;
+       guint idle_id; /* event source id */
 
        ColorManDoneFunc func_done;
        gpointer func_done_data;
@@ -48,15 +50,20 @@ struct _ColorMan {
 ColorMan *color_man_new(ImageWindow *imd, GdkPixbuf *pixbuf,
                        ColorManProfileType input_type, const gchar *input_file,
                        ColorManProfileType screen_type, const gchar *screen_file,
-                       ColorManDoneFunc done_func, gpointer done_data);
+                       guchar *screen_data, guint screen_data_len);
 ColorMan *color_man_new_embedded(ImageWindow *imd, GdkPixbuf *pixbuf,
-                                unsigned char *input_data, guint input_data_len,
+                                guchar *input_data, guint input_data_len,
                                 ColorManProfileType screen_type, const gchar *screen_file,
-                                ColorManDoneFunc done_func, gpointer done_data);
+                                guchar *screen_data, guint screen_data_len);
 void color_man_free(ColorMan *cm);
 
 void color_man_update(void);
 
+void color_man_correct_region(ColorMan *cm, GdkPixbuf *pixbuf, gint x, gint y, gint w, gint h);
 
-#endif
+void color_man_start_bg(ColorMan *cm, ColorManDoneFunc don_func, gpointer done_data);
+
+gboolean color_man_get_status(ColorMan *cm, gchar **image_profile, gchar **screen_profile);
 
+#endif
+/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */