23#include <glibmm/fileutils.h>
24#include <glibmm/i18n.h>
25#include <glibmm/ustring.h>
45#ifdef CAIRO_HAS_PDF_SURFACE
48#ifdef CAIRO_HAS_PS_SURFACE
122#define SP_MODULE_EXTENSION "inx"
137 gchar
const *pref_default)
169#ifdef CAIRO_HAS_PDF_SURFACE
172#ifdef CAIRO_HAS_PS_SURFACE
205 Magick::InitializeMagick(NULL);
267 SP_MODULE_KEY_OUTPUT_SVG_INKSCAPE
273template <
typename Range,
typename Value>
276 using std::begin, std::end;
278 return std::find(first, last, value) != last;
328 int *count = (
int *)in_data;
330 if (in_plug ==
nullptr)
return;
331 if (!in_plug->deactivated() && !in_plug->check()) {
332 in_plug->deactivate();
void foreach(void(*in_func)(Extension *in_plug, gpointer in_data), gpointer in_data)
A function to execute another function with every entry in the database as a parameter.
The object that is the basis for the Extension system.
static void error_file_open()
A function to open the error log file.
static void error_file_close()
A function to close the error log file.
static void init()
A function allocate a copy of this function.
static void init()
A function allocate a copy of this function.
static void init()
A function allocate a copy of this function.
static void filters_all()
static void init()
A function allocate a copy of this function.
static void init()
This is the definition of PovRay output.
static void init()
Inkscape runtime startup call.
static void init()
What would an SVG editor be without loading/saving SVG files. This function sets that up.
static void init()
What would an SVG editor be without loading/saving SVG files. This function sets that up.
Glib::ustring getString(Glib::ustring const &pref_path, Glib::ustring const &def="")
Retrieve an UTF-8 string.
static Preferences * get()
Access the singleton Preferences object.
void setString(Glib::ustring const &pref_path, Glib::ustring const &value)
Set an UTF-8 string value.
Enhanced Metafile Input/Output.
Enhanced Metafile printing - implementation.
static std::vector< std::string > user_extensions
static void update_pref(Glib::ustring const &pref_path, gchar const *pref_default)
Examines the given string preference and checks to see that at least one of the registered extensions...
DB db
This is the actual database object.
static void check_extensions()
void load_shared_extensions()
void init()
Invokes the init routines for internal modules.
void refresh_user_extensions()
Refresh user extensions.
static void check_extensions_internal(Extension *in_plug, gpointer in_data)
static bool contains(Range &&range, Value const &value)
static std::vector< std::string > shared_extensions
void build_from_file(gchar const *filename)
This function creates a module from a filename of an XML description.
void load_user_extensions()
std::vector< std::string > get_filenames(Type type, std::vector< const char * > const &extensions, std::vector< const char * > const &exclusions)
std::pair< gunichar, gunichar > Range
CMYK to sRGB conversion routines.
OpenDocument (drawing) input and output.
Singleton class to access the preferences file in a convenient way.
Inkscape::IO::Resource - simple resource API.
Windows Metafile Input/Output.
Windows Metafile printing - implementation.