From 697a3dc9fd50de4960d002212d0aeca738cfeb53 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sun, 6 Mar 2011 14:11:43 +0100 Subject: updated JSObject to only mediate functions calls, fbbrowser does all the info fetching etc --- src/JSObject.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/JSObject.h') diff --git a/src/JSObject.h b/src/JSObject.h index 1102610..427aae8 100644 --- a/src/JSObject.h +++ b/src/JSObject.h @@ -48,6 +48,8 @@ public: signals: void requestFile(QString& filename); + void getMAC(); + void getTime(); void signalQuitAll(); /* // should be the last signal to be emited. @@ -83,19 +85,25 @@ public slots: // slots which are emited by the jsObject signals void quitAll(); + // Slots for handling downloads. void startDownload(QString filename); void updateProgress(int i); + // Slots for handling MAC Adress stuff + void getMacAddress(); + void printMAC(QString& macAddress); + // Slots for handling time stuff + void showTime(); + void printTime(QString& time); - // System info stuff + // Not yet implemented. void getSysInfo(); - void getMacAddress(); void getIpAddress(); void getIntegratedHardwareDevices(); void getUsbDevices(); void getHardDrives(); // for testing reasons - void showTime(); + void showDate(); void showHelloWorld(); -- cgit v1.2.3-55-g7522