2020-05-08 14:45:27 +00:00
|
|
|
/**
|
|
|
|
* IPAPI for getting global ip of current network
|
|
|
|
*
|
|
|
|
* @author Lukas Heiligenbrunner
|
|
|
|
* @date 18.06.2019
|
|
|
|
*/
|
2019-06-18 09:23:24 +00:00
|
|
|
|
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();
|
|
|
|
};
|