diff options
| author | Ted Gould <ted@gould.cx> | 2008-10-27 18:03:09 +0000 |
|---|---|---|
| committer | Ted Gould <ted@canonical.com> | 2008-10-27 18:03:09 +0000 |
| commit | 7dbe11bc23efa5f51a9b84e7d0f6dd16e63e0902 (patch) | |
| tree | 7d3a2b95b84a03a19cb132cdf88bea0ab6dc4773 /src/extension/param/parameter.h | |
| parent | Merging from trunk (diff) | |
| download | inkscape-7dbe11bc23efa5f51a9b84e7d0f6dd16e63e0902.tar.gz inkscape-7dbe11bc23efa5f51a9b84e7d0f6dd16e63e0902.zip | |
From trunk
(bzr r6885)
Diffstat (limited to 'src/extension/param/parameter.h')
| -rw-r--r-- | src/extension/param/parameter.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/extension/param/parameter.h b/src/extension/param/parameter.h index 1aeafbd7c..54249c12e 100644 --- a/src/extension/param/parameter.h +++ b/src/extension/param/parameter.h @@ -1,12 +1,7 @@ -#ifndef __INK_EXTENSION_PARAM_H__ -#define __INK_EXTENSION_PARAM_H__ - -/** \file - * Parameters for extensions. +/** @file + * @brief Parameters for extensions. */ - -/* - * Authors: +/* Authors: * Ted Gould <ted@gould.cx> * * Copyright (C) 2005-2006 Authors @@ -14,24 +9,29 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -/** \brief The root directory in the preferences database for extension-related parameters. */ -#define PREF_DIR "extensions" +#ifndef SEEN_INK_EXTENSION_PARAM_H__ +#define SEEN_INK_EXTENSION_PARAM_H__ #include <gtkmm/widget.h> +#include <glibmm/i18n.h> #include "xml/document.h" #include "xml/node.h" #include "document.h" -#include <extension/extension-forward.h> -#include "prefs-utils.h" - -#include <glibmm/i18n.h> - +#include "extension/extension-forward.h" #include <color.h> namespace Inkscape { namespace Extension { +/** + * @brief The root directory in the preferences database for extension-related parameters + * + * The directory path has both a leading and a trailing slash, so that extension_pref_root + pref_name works + * without having to append a separator. + */ +extern Glib::ustring const extension_pref_root; + /** \brief A class to represent the parameter of an extension This is really a super class that allows them to abstract all @@ -132,4 +132,4 @@ public: fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : |
