diff options
author | daniel-Jones <daniel@danieljon.es> | 2016-07-22 11:43:37 +0930 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2016-07-22 11:43:37 +0930 |
commit | 0b6f9e4af8f1ab695a193fabdb32b6219223c455 (patch) | |
tree | 54765e0b37d700206b66ba479d80a6d4995907e8 /stats_display_window.h | |
parent | b9224cb9de71995b9f89787d47b98f9bbb188d58 (diff) | |
download | csgo_stats-0b6f9e4af8f1ab695a193fabdb32b6219223c455.tar.gz csgo_stats-0b6f9e4af8f1ab695a193fabdb32b6219223c455.zip |
Added parsing functions for both steam and csgo data, added testing displays on the UI etc
Diffstat (limited to 'stats_display_window.h')
-rw-r--r-- | stats_display_window.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stats_display_window.h b/stats_display_window.h index 887c550..d73f6ca 100644 --- a/stats_display_window.h +++ b/stats_display_window.h @@ -3,11 +3,8 @@ #include <QWidget> #include <QDebug> -#include <QByteArray> -#include <QFile> -#include <QJsonObject> -#include <QJsonDocument> #include "file_download.h" +#include "parse_file.h" namespace Ui { class stats_display_window; @@ -28,18 +25,21 @@ public: private: Ui::stats_display_window *ui; - struct user_info { + struct user_info { /* contains our user data for both steam and csgo */ QString username; QString realname; QString avatar_url; + QString status; + QString time_ingame; } user; file_download download; + parse_file parse; signals: void window_loaded(); private slots: - void test(); + void window_open(); }; #endif // STATS_DISPLAY_WINDOW_H |