Elaztek Developer Hub
Blamite Game Engine - Tool (Library)
A command-line utility that aids in the creation of Blamite Cache (.map) Files.
GUICommand.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Strings/components/logger/logger.h>
4 
5 #include "../ToolCommand.hpp"
6 #include "../console.h"
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 
24 {
25 public:
27  {
28  command = "gui";
29  syntax = "gui";
30  description = "opens a gui which can be used to perform all other tool functions, may be "
31  "preferred by users unfamiliar with the command-line or new to blamite content creation";
32  }
33 
34  int execute(std::vector<std::string> args)
35  {
36  BlamStrings::Logger::LogEvent("dummy command, this should not execute");
37 
38  return 0;
39  }
40 };
GUICommand::GUICommand
GUICommand()
Definition: GUICommand.hpp:26
TOOL_LIB_API
#define TOOL_LIB_API
Definition: GUICommand.hpp:11
GUICommand::execute
int execute(std::vector< std::string > args)
Executes the command.
Definition: GUICommand.hpp:34
GUICommand
Class for the GUI command.
Definition: GUICommand.hpp:23
ToolCommand
Base class representing a Tool command.
Definition: ToolCommand.hpp:15