DynuIPRefresher/inc/IPRefresher.h

23 lines
403 B
C
Raw Normal View History

//
// Created by lukas on 02.08.19.
//
#pragma once
class IPRefresher {
public:
/**
* refresh ip address on Dynu server
*/
void checkIPAdress(bool force);
IPRefresher();
2020-04-30 10:16:29 +00:00
/**
* start the service in loop mode
* every 5 minutes the ip is checked an refreshed (needed for .service)
* @param loop true->loopmode on
*/
2019-10-27 13:14:03 +00:00
explicit IPRefresher(bool loop);
};