summaryrefslogtreecommitdiffstats
path: root/src/fbgui.h
diff options
context:
space:
mode:
authorjoe2011-04-20 18:43:57 +0200
committerjoe2011-04-20 18:43:57 +0200
commit8c3956a644a4983f5108802dc89662ebb4a1ebc1 (patch)
treec102bf70b58f26f62e8d6cdbbff03c12bb4ef88b /src/fbgui.h
parentfbgui.conf update (diff)
downloadfbgui-8c3956a644a4983f5108802dc89662ebb4a1ebc1.tar.gz
fbgui-8c3956a644a4983f5108802dc89662ebb4a1ebc1.tar.xz
fbgui-8c3956a644a4983f5108802dc89662ebb4a1ebc1.zip
kexec done by fbgui
Diffstat (limited to 'src/fbgui.h')
-rw-r--r--src/fbgui.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fbgui.h b/src/fbgui.h
index 25911fd..891e17a 100644
--- a/src/fbgui.h
+++ b/src/fbgui.h
@@ -33,6 +33,7 @@
#define DEFAULT_FILE_TRIGGER "/tmp/fbgui/trigger"
// Global settings variables
+extern QString ipConfigFilePath;
extern QThread dmThread;
extern QString serialLocation;
extern QString fileToTriggerURL;
@@ -43,6 +44,7 @@ extern QUrl baseURL;
extern int debugMode;
extern int updateInterval;
+
class fbgui: public QMainWindow {
Q_OBJECT
@@ -106,9 +108,11 @@ private slots:
// shut off the system
void performShutDown();
-
// reboot the system
void performReboot();
+ // prepareKexec
+ void prepareKexec();
+ void runKexec();
};
#endif // FBGUI_H