#include #include "protocol.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); Protocol *p = Protocol::getInstance(); QList users{QString("123321123"),QString("123321123"),QString("123321123"),QString("123321123")}; qDebug()<data_parser(p->data_maker(Protocol::ONLINEUSERS,4,users)); qDebug()<data_encrypt(p->data_maker(Protocol::ONLINEUSERS,4,users)); qDebug()<data_decrypt(p->data_encrypt(p->data_maker(Protocol::ONLINEUSERS,4,users))); return a.exec(); }