TeaSpeak-Client/native/updater/util.h

17 lines
434 B
C
Raw Normal View History

2019-10-25 19:51:40 -04:00
#pragma once
#include <string>
#ifdef WIN32
#define __no_return __declspec(noreturn)
#else
#define __no_return __attribute__((noreturn))
#endif
extern __no_return void execute_callback_fail_exit(const std::string& /* error id */ = "", const std::string& /* error message */ = "");
extern __no_return void execute_callback_success_exit();
#ifdef WIN32
extern bool is_administrator();
extern bool request_administrator();
#endif