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

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);
    void add_user(QString user);
};

#endif // PARSE_FILE_H