2012-11-01 15:19:01 +00:00
|
|
|
#pragma once
|
|
|
|
|
2013-07-29 04:01:49 +00:00
|
|
|
#include "Common/CommonWindows.h"
|
2013-03-28 19:26:24 +00:00
|
|
|
#include <string>
|
2013-03-29 19:51:14 +00:00
|
|
|
|
|
|
|
#include "Core/System.h"
|
2012-11-01 15:19:01 +00:00
|
|
|
|
|
|
|
namespace MainWindow
|
|
|
|
{
|
2013-07-28 00:47:06 +00:00
|
|
|
enum {
|
|
|
|
WM_USER_SAVESTATE_FINISH = WM_USER + 100,
|
|
|
|
WM_USER_LOG_STATUS_CHANGED = WM_USER + 200,
|
|
|
|
};
|
2012-11-01 15:19:01 +00:00
|
|
|
void Init(HINSTANCE hInstance);
|
|
|
|
BOOL Show(HINSTANCE hInstance, int nCmdShow);
|
|
|
|
void Close();
|
|
|
|
void UpdateMenus();
|
2013-05-13 08:08:10 +00:00
|
|
|
void UpdateCommands();
|
2012-11-01 15:19:01 +00:00
|
|
|
void Update();
|
|
|
|
void Redraw();
|
|
|
|
HWND GetHWND();
|
|
|
|
HINSTANCE GetHInstance();
|
|
|
|
HWND GetDisplayHWND();
|
|
|
|
void SetPlaying(const char*text);
|
2013-07-23 15:24:33 +00:00
|
|
|
void BrowseAndBoot(std::string defaultPath, bool browseDirectory = false);
|
2013-01-02 20:00:10 +00:00
|
|
|
void SaveStateActionFinished(bool result, void *userdata);
|
2012-12-05 06:32:32 +00:00
|
|
|
void _ViewFullScreen(HWND hWnd);
|
|
|
|
void _ViewNormal(HWND hWnd);
|
2012-11-01 15:19:01 +00:00
|
|
|
}
|