- update-settings: formatting code using astyle; some manual code nicenings

Conflicts:
	src/gui/update_settings.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-12-06 05:18:19 +01:00
committed by Thilo Graf
parent 72669771a7
commit 24c9dbb73a
2 changed files with 40 additions and 40 deletions

View File

@@ -36,7 +36,7 @@
#include "update.h"
// #define USE_SMS_INPUT
//#define USE_SMS_INPUT
#ifdef USE_SMS_INPUT
#include "gui/widget/stringinput.h"
@@ -44,14 +44,14 @@
#include <string>
//helper class to enable/disable update config url item
// helper class to enable/disable update config url item
class CUrlConfigSetupNotifier : public CChangeObserver
{
private:
CMenuItem* toDisable[2];
CMenuForwarder * updateItem;
CMenuItem *toDisable[2];
CMenuForwarder *updateItem;
public:
CUrlConfigSetupNotifier( CMenuItem*, CMenuItem*, CMenuForwarder *);
CUrlConfigSetupNotifier(CMenuItem *, CMenuItem *, CMenuForwarder *);
bool changeNotify(const neutrino_locale_t = NONEXISTANT_LOCALE, void *data = NULL);
};
@@ -65,10 +65,10 @@ class CUpdateSettings : public CMenuTarget, CChangeObserver
CStringInputSMS *input_url_file;
#endif
public:
public:
CUpdateSettings();
~CUpdateSettings();
int exec(CMenuTarget* parent, const std::string & actionKey);
int exec(CMenuTarget *parent, const std::string &actionKey);
bool changeNotify(const neutrino_locale_t = NONEXISTANT_LOCALE, void *data = NULL);
};