summaryrefslogtreecommitdiff
path: root/parse_file.h
blob: 9c2faae14b06d0d81d5d01fd5080df46d6051abf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef PARSE_FILE_H
#define PARSE_FILE_H
#include <QFile>
#include <QDebug>
#include <QTextStream>
#include "message_box.h"

class parse_file
{
public:
    parse_file();
    QString parse_user_data(QString option, QString split);
    QString parse_csgo_data(QString option);
    void parse_users(); /* parse file */
    QStringList get_usernames(); /* returns pre parsed data */
    QStringList get_ids(); /* returns pre parsed data */
    QStringList usernames;
    QStringList userids;
    void delete_user(QString user);
    message_box msgbox;
    void add_user(QString user);
};

#endif // PARSE_FILE_H