2019-06-18 09:23:24 +00:00
|
|
|
//
|
|
|
|
// Created by lukas on 18.06.19.
|
|
|
|
//
|
|
|
|
|
2019-08-01 19:19:02 +00:00
|
|
|
#pragma once
|
2019-06-18 09:23:24 +00:00
|
|
|
|
|
|
|
#include "API.h"
|
|
|
|
|
2020-05-05 17:25:23 +00:00
|
|
|
#include <string>
|
|
|
|
|
2020-05-07 12:54:40 +00:00
|
|
|
class IPAPI : API {
|
2019-06-18 09:23:24 +00:00
|
|
|
public:
|
2019-08-01 19:19:02 +00:00
|
|
|
/**
|
|
|
|
* get global ip of current internet connection
|
|
|
|
* @return global ip
|
|
|
|
*/
|
2019-06-18 09:23:24 +00:00
|
|
|
std::string getGlobalIp();
|
|
|
|
};
|