2013-04-17 23:43:35 -04:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2009-03-20 19:12:04 +00:00
|
|
|
|
2014-02-10 13:54:46 -05:00
|
|
|
#pragma once
|
2009-02-24 19:31:32 +00:00
|
|
|
|
2013-02-27 22:37:38 -06:00
|
|
|
#include <string>
|
|
|
|
#include <wx/string.h>
|
|
|
|
|
|
|
|
namespace WxUtils
|
|
|
|
{
|
2009-03-20 19:12:04 +00:00
|
|
|
|
|
|
|
// Launch a file according to its mime type
|
|
|
|
void Launch(const char *filename);
|
|
|
|
|
|
|
|
// Launch an file explorer window on a certain path
|
|
|
|
void Explore(const char *path);
|
2009-08-07 08:52:04 +00:00
|
|
|
|
2013-09-25 03:05:36 -04:00
|
|
|
double GetCurrentBitmapLogicalScale();
|
|
|
|
|
2009-03-20 19:12:04 +00:00
|
|
|
} // namespace
|
|
|
|
|
2013-02-27 22:37:38 -06:00
|
|
|
std::string WxStrToStr(const wxString& str);
|
|
|
|
wxString StrToWxStr(const std::string& str);
|