index 9c2388ab20fec9f04416f35d463d454280931f97..3d22417f673a7a6d983363850e0519e8cc375616 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())
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :