index 9c2388ab20fec9f04416f35d463d454280931f97..c8c51b5510f4ae5c69e90bcb7f62f2478f1da6c7 100644 (file)
--- a/src/color-profile-fns.h
+++ b/src/color-profile-fns.h
#include <glib-object.h>
#include <glib/gtypes.h>
+#if ENABLE_LCMS
+#include <vector>
+#include <glibmm/ustring.h>
+#include <lcms.h>
+#endif // ENABLE_LCMS
+
+class SPDocument;
namespace Inkscape {
+
namespace XML {
class Node;
} // namespace XML
GType colorprofile_get_type();
+#if ENABLE_LCMS
+
+cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name );
+cmsHTRANSFORM colorprofile_get_display_transform();
+
+Glib::ustring colorprofile_get_display_id( int screen, int monitor );
+Glib::ustring colorprofile_set_display_per( gpointer buf, guint bufLen, int screen, int monitor );
+cmsHTRANSFORM colorprofile_get_display_per( Glib::ustring const& id );
+
+std::vector<Glib::ustring> colorprofile_get_display_names();
+std::vector<Glib::ustring> colorprofile_get_softproof_names();
+
+Glib::ustring get_path_for_profile(Glib::ustring const& name);
+
+#endif
+
} // namespace Inkscape
#define COLORPROFILE_TYPE (Inkscape::colorprofile_get_type())