2020-04-28 06:25:14 +00:00
|
|
|
/*
|
|
|
|
* OS-specific Helpers
|
|
|
|
*
|
2021-03-03 10:24:24 +00:00
|
|
|
* Copyright (C) 2020-2021 Matt Borgerson
|
2020-04-28 06:25:14 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2020-04-07 08:10:59 +00:00
|
|
|
#include "xemu-os-utils.h"
|
2020-04-27 23:41:07 +00:00
|
|
|
#include <windows.h>
|
2020-04-07 08:10:59 +00:00
|
|
|
|
|
|
|
const char *xemu_get_os_info(void)
|
|
|
|
{
|
|
|
|
return "Windows";
|
|
|
|
}
|
|
|
|
|
2020-04-08 11:33:30 +00:00
|
|
|
void xemu_open_web_browser(const char *url)
|
|
|
|
{
|
|
|
|
ShellExecute(0, "open", url, 0, 0 , SW_SHOW);
|
|
|
|
}
|