path-prefix.h revision d1ce2ed8db86c41119149216a4518d87a6c69d2d
/*
* Separate the inkscape paths from the prefix code, as that is kind of
* a separate package (binreloc)
*
* Since the directories set up by autoconf end up in config.h, we can't
* _change_ them, since config.h isn't protected by a set of
* one-time-include directives and is repeatedly re-included by some
* chains of .h files. As a result, nothing should refer to those
* define'd directories, and instead should use only the paths defined here.
*
*/
#ifndef _PATH_PREFIX_H_
#define _PATH_PREFIX_H_
#include "require-config.h" // INKSCAPE_DATADIR
#include "prefix.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#ifdef ENABLE_BINRELOC
//CREATE V0.1 support
#else
# ifdef WIN32
//CREATE V0.1 WIN32 support
# elif defined ENABLE_OSX_APP_LOCATIONS
# define INKSCAPE_APPICONDIR "Contents/Resources/pixmaps"
# define INKSCAPE_ATTRRELDIR "Contents/Resources/attributes"
# define INKSCAPE_BINDDIR "Contents/Resources/bind"
# define INKSCAPE_EXAMPLESDIR "Contents/Resources/examples"
# define INKSCAPE_EXTENSIONDIR "Contents/Resources/extensions"
# define INKSCAPE_FILTERDIR "Contents/Resources/filters"
# 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"
# define INKSCAPE_PATTERNSDIR "Contents/Resources/patterns"
# define INKSCAPE_SCREENSDIR "Contents/Resources/screens"
# define INKSCAPE_TUTORIALSDIR "Contents/Resources/tutorials"
# 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
//CREATE V0.1 support
# endif
#endif
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _PATH_PREFIX_H_ */