Code

Fixed problem when swatches were larger than provided area
[inkscape.git] / src / color-profile-fns.h
index 9c2388ab20fec9f04416f35d463d454280931f97..d7342b09dff020048b24e3a90a9d62c0bd470cfd 100644 (file)
@@ -7,8 +7,14 @@
 
 #include <glib-object.h>
 #include <glib/gtypes.h>
+#if ENABLE_LCMS
+#include <lcms.h>
+#endif // ENABLE_LCMS
+
+class SPDocument;
 
 namespace Inkscape {
+
 namespace XML {
 class Node;
 } // namespace XML
@@ -17,6 +23,12 @@ class ColorProfile;
 
 GType colorprofile_get_type();
 
+#if ENABLE_LCMS
+
+cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar* const name );
+
+#endif
+
 } // namespace Inkscape
 
 #define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type())