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 <string>
|
|
|
|
#include "API.h"
|
|
|
|
|
|
|
|
class IPAPI : API{
|
|
|
|
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();
|
|
|
|
};
|