Codebase list gnote / 322bb44
Fix compiler warnings regarding missing virtual destructors Aurimas Černius 3 years ago
3 changed file(s) with 9 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3333 class EmbeddableWidgetHost
3434 {
3535 public:
36 virtual ~EmbeddableWidgetHost() {}
3637 virtual void embed_widget(EmbeddableWidget &) = 0;
3738 virtual void unembed_widget(EmbeddableWidget &) = 0;
3839 virtual void foreground_embedded(EmbeddableWidget &) = 0;
4849 {
4950 public:
5051 EmbeddableWidget() : m_host(NULL) {}
52 virtual ~EmbeddableWidget() {}
5153 virtual Glib::ustring get_name() const = 0;
5254 virtual void embed(EmbeddableWidgetHost *h);
5355 virtual void unembed();
7577 class SearchableItem
7678 {
7779 public:
80 virtual ~SearchableItem() {}
7881 virtual void perform_search(const Glib::ustring & search_text) = 0;
7982 virtual bool supports_goto_result();
8083 virtual bool goto_next_result();
8588 class HasEmbeddableToolbar
8689 {
8790 public:
91 virtual ~HasEmbeddableToolbar() {}
8892 virtual Gtk::Widget *embeddable_toolbar() = 0;
8993 };
9094
9296 class HasActions
9397 {
9498 public:
99 virtual ~HasActions() {}
95100 virtual std::vector<PopoverWidget> get_popover_widgets() = 0;
96101 virtual std::vector<MainWindowAction::Ptr> get_widget_actions() = 0;
97102
00 /*
11 * gnote
22 *
3 * Copyright (C) 2011-2014,2017,2019-2020 Aurimas Cernius
3 * Copyright (C) 2011-2014,2017,2019-2021 Aurimas Cernius
44 * Copyright (C) 2009 Hubert Figuiere
55 *
66 * This program is free software: you can redistribute it and/or modify
195195 static Glib::ustring parse_text_content(const Glib::ustring & content);
196196
197197 NoteBase(const Glib::ustring & filepath, NoteManagerBase & manager);
198 virtual ~NoteBase() {}
198199
199200 NoteManagerBase & manager()
200201 {
00 /*
11 * gnote
22 *
3 * Copyright (C) 2012-2014,2017,2019 Aurimas Cernius
3 * Copyright (C) 2012-2014,2017,2019,2021 Aurimas Cernius
44 *
55 * This program is free software: you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
4040 typedef sigc::slot<void> SlotConnecting;
4141 typedef sigc::slot<void> SlotIdle;
4242
43 virtual ~SyncUI() {}
4344 virtual void sync_state_changed(SyncState state) = 0;
4445 void note_synchronized_th(const Glib::ustring & noteTitle, NoteSyncType type);
4546 virtual void note_synchronized(const Glib::ustring & noteTitle, NoteSyncType type) = 0;