update settings: don't use sms input for update.url

Now use file browser to select url config file, but you can
define USE_SMS_INPUT in update_settings.h to use old methode.
The SMS-Methode is not very user friendly
This commit is contained in:
2012-06-08 23:16:34 +02:00
parent 643b9f485f
commit be0ea475b7
2 changed files with 35 additions and 6 deletions

View File

@@ -35,7 +35,12 @@
#include <gui/widget/menue.h>
#include "gui/update.h"
// #define USE_SMS_INPUT
#ifdef USE_SMS_INPUT
#include "gui/widget/stringinput.h"
#endif
#include <string>
@@ -56,7 +61,9 @@ class CUpdateSettings : public CMenuTarget
int initMenu();
CFlashExpert *fe;
#ifdef USE_SMS_INPUT
CStringInputSMS *input_url_file;
#endif
public:
CUpdateSettings();