MeshLib C++ Docs
Loading...
Searching...
No Matches
MRConsoleWindows.h
Go to the documentation of this file.
1
#pragma once
2
#include "exports.h"
3
#include <vector>
4
#include <string>
5
6
namespace
MR
7
{
8
9
#ifdef _WIN32
10
// convert winapi representation of argv to simple strings vector
11
MRVIEWER_API std::vector<std::string> ConvertArgv();
12
13
// starts console in ctor if needed
14
// free it in destructor
15
struct
MRVIEWER_CLASS ConsoleRunner
16
{
17
MRVIEWER_API ConsoleRunner(
bool
runConsole );
18
MRVIEWER_API ~ConsoleRunner();
19
private
:
20
bool
consoleStarted_{
false
};
21
};
22
#endif
//_WIN32
23
24
}
MR
MeshLib
source
MRViewer
MRConsoleWindows.h
Generated by
1.11.0