Elaztek Developer Hub
Blamite Game Engine - Tool (Library)  00368.02.12.23.1347.blamite
A command-line utility that aids in the creation of Blamite Cache (.map) Files.
console.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 #include "ToolCommand.hpp"
7 
8 #ifdef TOOL_LIB_EXPORTS
9 #define TOOL_LIB_API __declspec(dllexport)
10 #else
11 #define TOOL_LIB_API __declspec(dllimport)
12 #endif
13 
18 {
20 
21  TOOL_LIB_API int ExecuteCommandLine(std::string command_line);
22 
23  TOOL_LIB_API std::vector<ToolCommand*> GetRegisteredCommands();
24 }
TOOL_LIB_API
#define TOOL_LIB_API
Definition: console.h:11
BlamTool::Console
Namespace containing functions for Tool's command-line input.
Definition: console.h:17
ToolCommand.hpp
BlamTool::Console::RegisterDefaultCommands
TOOL_LIB_API void RegisterDefaultCommands()
Definition: console.cpp:15
BlamTool::Console::ExecuteCommandLine
TOOL_LIB_API int ExecuteCommandLine(std::string command_line)
Definition: console.cpp:57
BlamTool::Console::GetRegisteredCommands
TOOL_LIB_API std::vector< ToolCommand * > GetRegisteredCommands()
Definition: console.cpp:103