Code

* src/Makefile_insert, src/Makefile.am, src/svg/Makefile_insert,
[inkscape.git] / src / path-prefix.h
index 89bc6309cd5d7adb2ea9f49353eed34f2cdf883d..50895ef7b3822f5f6085ef1456e91f21cb9d2c64 100644 (file)
@@ -24,6 +24,7 @@ extern "C" {
 #  define INKSCAPE_APPICONDIR     BR_DATADIR( "/pixmaps" )
 #  define INKSCAPE_EXTENSIONDIR   BR_DATADIR( "/inkscape/extensions" )
 #  define INKSCAPE_GRADIENTSDIR   BR_DATADIR( "/inkscape/gradients" )
+#  define INKSCAPE_KEYSDIR        BR_DATADIR( "/inkscape/keys" )
 #  define INKSCAPE_PIXMAPDIR      BR_DATADIR( "/inkscape/icons" )
 #  define INKSCAPE_MARKERSDIR     BR_DATADIR( "/inkscape/markers" )
 #  define INKSCAPE_PALETTESDIR    BR_DATADIR( "/inkscape/palettes" )
@@ -33,11 +34,16 @@ extern "C" {
 #  define INKSCAPE_PLUGINDIR      BR_LIBDIR(  "/inkscape/plugins" )
 #  define INKSCAPE_TEMPLATESDIR   BR_DATADIR( "/inkscape/templates" )
 #  define INKSCAPE_UIDIR          BR_DATADIR( "/inkscape/ui" )
+//CREATE V0.1 support
+#    define CREATE_GRADIENTSDIR   BR_DATADIR( "/create/gradients/gimp" )  
+#    define CREATE_PALETTESDIR    BR_DATADIR( "/create/swatches" )
+#    define CREATE_PATTERNSDIR    BR_DATADIR( "/create/patterns/vector" )
 #else
 #  ifdef WIN32
 #    define INKSCAPE_APPICONDIR   "pixmaps"
 #    define INKSCAPE_EXTENSIONDIR "share\\extensions"
 #    define INKSCAPE_GRADIENTSDIR "share\\gradients"
+#    define INKSCAPE_KEYSDIR      "share\\keys"
 #    define INKSCAPE_PIXMAPDIR    "share\\icons"
 #    define INKSCAPE_MARKERSDIR   "share\\markers"
 #    define INKSCAPE_PALETTESDIR  "share\\palettes"
@@ -47,10 +53,15 @@ extern "C" {
 #    define INKSCAPE_PLUGINDIR    "plugins"
 #    define INKSCAPE_TEMPLATESDIR "share\\templates"
 #    define INKSCAPE_UIDIR        INKSCAPE_DATADIR "\\share\\ui"
+//CREATE V0.1  WIN32 support
+#    define CREATE_GRADIENTSDIR INKSCAPE_DATADIR "create\\gradients\\gimp"
+#    define CREATE_PALETTESDIR  INKSCAPE_DATADIR "create\\swatches"
+#    define CREATE_PATTERNSDIR  INKSCAPE_DATADIR "create\\patterns\\vector"
 #  elif defined ENABLE_OSX_APP_LOCATIONS
 #    define INKSCAPE_APPICONDIR   "Contents/Resources/pixmaps"
 #    define INKSCAPE_EXTENSIONDIR "Contents/Resources/extensions"
 #    define INKSCAPE_GRADIENTSDIR "Contents/Resources/gradients"
+#    define INKSCAPE_KEYSDIR      "Contents/Resources/keys"
 #    define INKSCAPE_PIXMAPDIR    "Contents/Resources/icons"
 #    define INKSCAPE_MARKERSDIR   "Contents/Resources/markers"
 #    define INKSCAPE_PALETTESDIR  "Contents/Resources/palettes"
@@ -60,10 +71,15 @@ extern "C" {
 #    define INKSCAPE_PLUGINDIR    "Contents/Resources/plugins"
 #    define INKSCAPE_TEMPLATESDIR "Contents/Resources/templates"
 #    define INKSCAPE_UIDIR        "Contents/Resources/ui"
+//CREATE V0.1 support
+#    define CREATE_GRADIENTSDIR  "/Library/Application Support/create/gradients/gimp"
+#    define CREATE_PALETTESDIR   "/Library/Application Support/create/swatches"
+#    define CREATE_PATTERNSDIR   "/Library/Application Support/create/patterns/vector"
 #  else
 #    define INKSCAPE_APPICONDIR   INKSCAPE_DATADIR "/pixmaps"
 #    define INKSCAPE_EXTENSIONDIR INKSCAPE_DATADIR "/inkscape/extensions"
 #    define INKSCAPE_GRADIENTSDIR INKSCAPE_DATADIR "/inkscape/gradients"
+#    define INKSCAPE_KEYSDIR      INKSCAPE_DATADIR "/inkscape/keys"
 #    define INKSCAPE_PIXMAPDIR    INKSCAPE_DATADIR "/inkscape/icons"
 #    define INKSCAPE_MARKERSDIR   INKSCAPE_DATADIR "/inkscape/markers"
 #    define INKSCAPE_PALETTESDIR  INKSCAPE_DATADIR "/inkscape/palettes"
@@ -73,7 +89,11 @@ extern "C" {
 #    define INKSCAPE_PLUGINDIR    INKSCAPE_LIBDIR  "/inkscape/plugins"
 #    define INKSCAPE_TEMPLATESDIR INKSCAPE_DATADIR "/inkscape/templates"
 #    define INKSCAPE_UIDIR        INKSCAPE_DATADIR "/inkscape/ui"
-#  endif
+//CREATE V0.1 support
+#    define CREATE_GRADIENTSDIR INKSCAPE_DATADIR "/create/gradients/gimp"
+#    define CREATE_PALETTESDIR  INKSCAPE_DATADIR "/create/swatches"
+#    define CREATE_PATTERNSDIR  INKSCAPE_DATADIR "/create/patterns/vector"
+#       endif
 #endif
 
 #ifdef __cplusplus