Added results statistics to API.
This commit is contained in:
parent
1651b041de
commit
9e9cddedc5
21 changed files with 265 additions and 57 deletions
|
@ -30,6 +30,7 @@
|
|||
|
||||
class ApiState;
|
||||
class Hashrate;
|
||||
class Results;
|
||||
|
||||
|
||||
class Api
|
||||
|
@ -40,6 +41,7 @@ public:
|
|||
|
||||
static const char *get(const char *url, size_t *size, int *status);
|
||||
static void tick(const Hashrate *hashrate);
|
||||
static void tick(const Results &results);
|
||||
|
||||
private:
|
||||
static ApiState *m_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue