2013-04-18 03:43:35 +00: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 18:54:46 +00:00
|
|
|
#pragma once
|
2009-02-24 19:31:32 +00:00
|
|
|
|
2013-02-28 04:37:38 +00: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 07:05:36 +00:00
|
|
|
double GetCurrentBitmapLogicalScale();
|
|
|
|
|
2009-03-20 19:12:04 +00:00
|
|
|
} // namespace
|
|
|
|
|
2013-02-28 04:37:38 +00:00
|
|
|
std::string WxStrToStr(const wxString& str);
|
|
|
|
wxString StrToWxStr(const std::string& str);
|