Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
registry.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Authors:
4 * Ralf Stephan <ralf@ark.in-berlin.de>
5 *
6 * Copyright (C) 2005 Authors
7 *
8 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
9 */
10#ifndef SEEN_INKSCAPE_UI_WIDGET_REGISTRY_H
11#define SEEN_INKSCAPE_UI_WIDGET_REGISTRY_H
12
13class SPDesktop;
14
15namespace Inkscape {
16namespace UI {
17namespace Widget {
18
19class Registry {
20public:
21 Registry();
23
24 bool isUpdating();
25 void setUpdating (bool);
26
27 SPDesktop *desktop() const { return _desktop; }
29
30protected:
32
33 SPDesktop *_desktop = nullptr;
34};
35
36} // namespace Dialog
37} // namespace UI
38} // namespace Widget
39
40#endif // SEEN_INKSCAPE_UI_WIDGET_REGISTRY_H
41
42/*
43 Local Variables:
44 mode:c++
45 c-file-style:"stroustrup"
46 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
47 indent-tabs-mode:nil
48 fill-column:99
49 End:
50*/
51// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
SPDesktop * desktop() const
Definition registry.h:27
void setDesktop(SPDesktop *desktop)
Definition registry.cpp:37
To do: update description of desktop.
Definition desktop.h:149
Helper class to stream background task notifications as a series of messages.