Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
CheckForUpdates.hpp File Reference
#include <Core/Core.hpp>
#include <Core/Version.hpp>
#include <Logger/Logger.hpp>
#include <memory>
#include <cpr/cpr.h>
#include <nlohmann/json.hpp>

Go to the source code of this file.

Classes

class  CheckForUpdates
 cpr: cURL c++ wrapper More...
 
struct  CheckForUpdates::Version
 
struct  CheckForUpdates::LatestReleaseInfo
 

Macros

#define ENIGMA_NETWORKING_CHECK_FOR_UPDATES_H
 
#define CC1(a, b)   a##b
 
#define CC(a, b)   CC1(a, b)
 
#define ASSIGN_IF(var, field, json_type)
 

Macro Definition Documentation

◆ ASSIGN_IF

#define ASSIGN_IF (   var,
  field,
  json_type 
)
Value:
if (!obj[field].is_null() && CC(obj[field].is_, json_type)()) \
(var) = obj[field].get<decltype(var)>();
#define CC(a, b)

◆ CC

#define CC (   a,
 
)    CC1(a, b)

◆ CC1

#define CC1 (   a,
 
)    a##b

◆ ENIGMA_NETWORKING_CHECK_FOR_UPDATES_H

#define ENIGMA_NETWORKING_CHECK_FOR_UPDATES_H

Definition at line 3 of file CheckForUpdates.hpp.