mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-29 06:07:56 +03:00
14 lines
412 B
C++
14 lines
412 B
C++
#include <windows.h>
|
|
#include "ElfViewFrame.h"
|
|
#include "StringUtils.h"
|
|
|
|
int WINAPI WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR params, int showCmd)
|
|
{
|
|
std::string path(params);
|
|
path = StringUtils::EraseAll(path, "\"");
|
|
CElfViewFrame elfViewFrame(path.c_str());
|
|
elfViewFrame.Center();
|
|
elfViewFrame.Show(SW_SHOW);
|
|
Framework::Win32::CWindow::DlgMsgLoop(elfViewFrame);
|
|
return 0;
|
|
}
|