Doomseeker
Wadseeker
Download
Tracker
Git
Docs
Main Page
Plugin API
Modules
Classes
Files
File List
src
core
ip2c
ip2cloader.h
1
#ifndef idBE97C916_2BFB_4C8C_B530CA666606FA7D
2
#define idBE97C916_2BFB_4C8C_B530CA666606FA7D
3
4
#include "dptr.h"
5
6
#include <QObject>
7
8
class
IP2CLoader
:
public
QObject
9
{
10
Q_OBJECT
11
12
public
:
13
IP2CLoader
(QObject *parent = NULL);
14
~
IP2CLoader
();
15
16
void
load();
17
18
public
slots:
19
void
update();
20
21
signals:
22
void
downloadProgress(qint64 current, qint64 total);
23
void
finished();
24
25
private
:
26
DPtr<IP2CLoader>
d;
27
28
void
ip2cJobsFinished();
29
void
ip2cParseDatabase();
30
31
private
slots:
32
void
ip2cFinishUpdate(
const
QByteArray& downloadedData);
33
void
ip2cFinishedParsing(
bool
bSuccess);
34
void
onUpdateNeeded(
int
status);
35
};
36
37
#endif
IP2CLoader
Definition:
ip2cloader.h:8
DPtr< IP2CLoader >
Doomseeker © 2009-2024 The Doomseeker Team