Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
tool-factory.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Factory for ToolBase tree
4 *
5 * Authors:
6 * Markus Engel
7 *
8 * Copyright (C) 2013 Authors
9 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
10 */
11
12#ifndef TOOL_FACTORY_SEEN
13#define TOOL_FACTORY_SEEN
14
15#include <string>
16
17class SPDesktop;
18namespace Inkscape {
19namespace UI {
20namespace Tools {
21class ToolBase;
22}
23}
24}
25
27 static Inkscape::UI::Tools::ToolBase *createObject(SPDesktop *desktop, std::string const &id);
28};
29
30
31#endif
32
33/*
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:
41*/
42// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
Base class for Event processors.
Definition tool-base.h:95
To do: update description of desktop.
Definition desktop.h:149
Helper class to stream background task notifications as a series of messages.
static Inkscape::UI::Tools::ToolBase * createObject(SPDesktop *desktop, std::string const &id)
SPDesktop * desktop