Debian Codegraph @

gtk/gtkmm/selectiondata_private.h

raw symbols SCIP
1 /* sectiondata_private.h
2 *
3 * Copyright (C) 2002 The gtkmm Development Team
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, see <https://www.gnu.org/licenses/>.
17 */
18
19 #ifndef _GTKMM_SELECTIONDATA_PRIVATE_H
20 #define _GTKMM_SELECTIONDATA_PRIVATE_H
21
22 #include <gtkmm/selectiondata.h>
23
24
25 namespace Gtk
26 {
27
28 #ifndef DOXYGEN_SHOULD_SKIP_THIS
29
30 /** This class allows GtkSelectionData to be manipulated via a C++ API, but doesn't take a copy
31 * or try to free the underlying instance in its destructor.
32 * So far it's only used by gtkmm internally.
33 */
34 class GTKMM_API SelectionData_WithoutOwnership : public SelectionData
35 {
36 public:
37 explicit SelectionData_WithoutOwnership(GtkSelectionData* gobject);
38 ~SelectionData_WithoutOwnership() noexcept;
39 };
40
41 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
42
43 } // namespace Gtk
44
45 #endif /* _GTKMM_SELECTIONDATA_PRIVATE_H */