Fix compiler warnings regarding missing virtual destructors
Aurimas Černius
3 years ago
33 | 33 |
class EmbeddableWidgetHost
|
34 | 34 |
{
|
35 | 35 |
public:
|
|
36 |
virtual ~EmbeddableWidgetHost() {}
|
36 | 37 |
virtual void embed_widget(EmbeddableWidget &) = 0;
|
37 | 38 |
virtual void unembed_widget(EmbeddableWidget &) = 0;
|
38 | 39 |
virtual void foreground_embedded(EmbeddableWidget &) = 0;
|
|
48 | 49 |
{
|
49 | 50 |
public:
|
50 | 51 |
EmbeddableWidget() : m_host(NULL) {}
|
|
52 |
virtual ~EmbeddableWidget() {}
|
51 | 53 |
virtual Glib::ustring get_name() const = 0;
|
52 | 54 |
virtual void embed(EmbeddableWidgetHost *h);
|
53 | 55 |
virtual void unembed();
|
|
75 | 77 |
class SearchableItem
|
76 | 78 |
{
|
77 | 79 |
public:
|
|
80 |
virtual ~SearchableItem() {}
|
78 | 81 |
virtual void perform_search(const Glib::ustring & search_text) = 0;
|
79 | 82 |
virtual bool supports_goto_result();
|
80 | 83 |
virtual bool goto_next_result();
|
|
85 | 88 |
class HasEmbeddableToolbar
|
86 | 89 |
{
|
87 | 90 |
public:
|
|
91 |
virtual ~HasEmbeddableToolbar() {}
|
88 | 92 |
virtual Gtk::Widget *embeddable_toolbar() = 0;
|
89 | 93 |
};
|
90 | 94 |
|
|
92 | 96 |
class HasActions
|
93 | 97 |
{
|
94 | 98 |
public:
|
|
99 |
virtual ~HasActions() {}
|
95 | 100 |
virtual std::vector<PopoverWidget> get_popover_widgets() = 0;
|
96 | 101 |
virtual std::vector<MainWindowAction::Ptr> get_widget_actions() = 0;
|
97 | 102 |
|
0 | 0 |
/*
|
1 | 1 |
* gnote
|
2 | 2 |
*
|
3 | |
* Copyright (C) 2011-2014,2017,2019-2020 Aurimas Cernius
|
|
3 |
* Copyright (C) 2011-2014,2017,2019-2021 Aurimas Cernius
|
4 | 4 |
* Copyright (C) 2009 Hubert Figuiere
|
5 | 5 |
*
|
6 | 6 |
* This program is free software: you can redistribute it and/or modify
|
|
195 | 195 |
static Glib::ustring parse_text_content(const Glib::ustring & content);
|
196 | 196 |
|
197 | 197 |
NoteBase(const Glib::ustring & filepath, NoteManagerBase & manager);
|
|
198 |
virtual ~NoteBase() {}
|
198 | 199 |
|
199 | 200 |
NoteManagerBase & manager()
|
200 | 201 |
{
|
0 | 0 |
/*
|
1 | 1 |
* gnote
|
2 | 2 |
*
|
3 | |
* Copyright (C) 2012-2014,2017,2019 Aurimas Cernius
|
|
3 |
* Copyright (C) 2012-2014,2017,2019,2021 Aurimas Cernius
|
4 | 4 |
*
|
5 | 5 |
* This program is free software: you can redistribute it and/or modify
|
6 | 6 |
* it under the terms of the GNU General Public License as published by
|
|
40 | 40 |
typedef sigc::slot<void> SlotConnecting;
|
41 | 41 |
typedef sigc::slot<void> SlotIdle;
|
42 | 42 |
|
|
43 |
virtual ~SyncUI() {}
|
43 | 44 |
virtual void sync_state_changed(SyncState state) = 0;
|
44 | 45 |
void note_synchronized_th(const Glib::ustring & noteTitle, NoteSyncType type);
|
45 | 46 |
virtual void note_synchronized(const Glib::ustring & noteTitle, NoteSyncType type) = 0;
|