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
17
class
SPDesktop
;
18
namespace
Inkscape
{
19
namespace
UI {
20
namespace
Tools {
21
class
ToolBase;
22
}
23
}
24
}
25
26
struct
ToolFactory
{
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 :
Inkscape::UI::Tools::ToolBase
Base class for Event processors.
Definition
tool-base.h:95
SPDesktop
To do: update description of desktop.
Definition
desktop.h:149
Inkscape
Helper class to stream background task notifications as a series of messages.
Definition
actions-canvas-snapping.h:27
ToolFactory
Definition
tool-factory.h:26
ToolFactory::createObject
static Inkscape::UI::Tools::ToolBase * createObject(SPDesktop *desktop, std::string const &id)
Definition
tool-factory.cpp:42
desktop
SPDesktop * desktop
Definition
tabs-widget.cpp:70
src
ui
tool-factory.h
Generated on Sun Jul 13 2025 04:02:21 for Inkscape by
1.9.8