#ifndef FMNETWORK_H
#define FMNETWORK_H

#include <QObject>
#include <QString>
#include <QByteArray>
#include "global.h"

class FMNetWork : public QObject
{
    Q_OBJECT
public:
    explicit FMNetWork(QObject *parent = 0);

    static bool HttpPost(QString url, QByteArray &outdata, const QByteArray &indata,
                         QString content, QString accept, QString &error, int timeout = 60);
};

#endif // FMNETWORK_H
