Enhance save as template and new from template dialogs
[inkscape.git] / src / ui / tool-factory.h
blob0addc0f5849506d5a94740ffd22270d39f132b6a
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Factory for ToolBase tree
5 * Authors:
6 * Markus Engel
8 * Copyright (C) 2013 Authors
9 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
12 #ifndef TOOL_FACTORY_SEEN
13 #define TOOL_FACTORY_SEEN
15 #include <string>
17 class SPDesktop;
18 namespace Inkscape {
19 namespace UI {
20 namespace Tools {
21 class ToolBase;
26 struct ToolFactory {
27 static Inkscape::UI::Tools::ToolBase *createObject(SPDesktop *desktop, std::string const &id);
31 #endif
34 Local Variables:
35 mode:c++
36 c-file-style:"stroustrup"
37 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
38 indent-tabs-mode:nil
39 fill-column:99
40 End:
42 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :