MeshLib Documentation
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
6namespace MR
7{
8
9#ifdef _WIN32
10// convert winapi representation of argv to simple strings vector
11MRVIEWER_API std::vector<std::string> ConvertArgv();
12
13// starts console in ctor if needed
14// free it in destructor
15struct MRVIEWER_CLASS ConsoleRunner
16{
17 MRVIEWER_API ConsoleRunner( bool runConsole );
18 MRVIEWER_API ~ConsoleRunner();
19private:
20 bool consoleStarted_{ false };
21};
22#endif //_WIN32
23
24}
Definition MRCameraOrientationPlugin.h:8