# HG changeset patch # User Torsten Lilge # Date 1572679517 -3600 # Node ID 8437248a4b17f12f4a459f8d391c1be2ad1a823a # Parent deb8877f2c349dfc4b5909cc32194a7c54762d65 * gui-preferences-nr.h: add file missing in cset deb8877f2c34 diff -r deb8877f2c34 -r 8437248a4b17 libgui/src/gui-preferences-nr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libgui/src/gui-preferences-nr.h Sat Nov 02 08:25:17 2019 +0100 @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2017-2019 Torsten Lilge + +This file is part of Octave. + +Octave is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +Octave is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, see +. + +*/ + +#if ! defined (octave_gui_preferences_nr_h) +#define octave_gui_preferences_nr_h 1 + +#include "gui-preferences.h" +#include + +// News Reader properties + +const gui_pref +nr_last_time ("news/last_time_checked", QVariant (QDateTime ())); + +const gui_pref +nr_last_news ("news/last_news_item", QVariant (0)); + +const gui_pref +nr_allow_connection ("news/allow_web_connection", QVariant (false)); + +#endif