// SPDX-License-Identifier: GPL-2.0-or-later /** @file * @brief Basic dialog info. * * Authors: see git history * Tavmjong Bah * * Copyright (c) 2021 Tavmjong Bah, Authors * * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include #include #include enum class ScrollProvider { PROVIDE = 0, NOPROVIDE }; class DialogData { public: Glib::ustring label; Glib::ustring icon_name; enum Category { Basic = 0, Advanced, Settings, Diagnostics, Other, _num_categories }; Category category; ScrollProvider provide_scroll; }; // dialog categories (used to group them in a dialog submenu) char const *const dialog_categories[DialogData::_num_categories] = { N_("Basic"), N_("Advanced"), N_("Settings"), N_("Diagnostic"), N_("Other") }; /** Get the data about all existing dialogs. */ std::map const &get_dialog_data(); /* Local Variables: mode:c++ c-file-style:"stroustrup" c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) indent-tabs-mode:nil fill-column:99 End: */ // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :