Implement online mode: now qcma can connect to the Internet to check and download update files.
Update embedded xml file. Updated translations.
This commit is contained in:
@@ -22,7 +22,9 @@
|
||||
|
||||
#include "cmaobject.h"
|
||||
#include "database.h"
|
||||
#include "httpdownloader.h"
|
||||
|
||||
#include <QNetworkReply>
|
||||
#include <QObject>
|
||||
#include <QSemaphore>
|
||||
|
||||
@@ -61,8 +63,9 @@ private:
|
||||
void vitaEventSendObjectMetadataItems(vita_event_t *event, int eventId);
|
||||
void vitaEventSendNPAccountInfo(vita_event_t *event, int eventId);
|
||||
|
||||
static int readCallback(unsigned char *data, unsigned long wantlen, unsigned long *gotlen);
|
||||
static int writeCallback(const unsigned char *data, unsigned long size, unsigned long *written);
|
||||
static int readCallback(unsigned char *data, int64_t wantlen, int64_t *gotlen);
|
||||
static int writeCallback(const unsigned char *data, int64_t size, int64_t *written);
|
||||
static int readHTTPCallback(unsigned char *data, int64_t wantlen, int64_t *gotlen);
|
||||
|
||||
void processEvent();
|
||||
bool isActive();
|
||||
@@ -83,6 +86,7 @@ private:
|
||||
signals:
|
||||
void finishedEventLoop();
|
||||
void refreshDatabase();
|
||||
void messageSent(QString);
|
||||
|
||||
public slots:
|
||||
void process();
|
||||
|
Reference in New Issue
Block a user