Elaztek Developer Hub
Blamite Game Engine - Strings  00313.05.23.21.2038.blamite
A library containing general purpose utilities and classes for use in multiple projects.
GUICommand.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include "../ToolCommand.hpp"
6 #include "../console.h"
7 
8 #ifdef STRINGS_EXPORTS
9 #define STRINGS_API __declspec(dllexport)
10 #else
11 #define STRINGS_API __declspec(dllimport)
12 #endif
13 
15 {
16 public:
17 
19  {
20  command = "gui";
21  syntax = "gui";
22  description = "opens a gui which can be used to perform all other tool functions, may be preferred by users unfamiliar with the command-line or new to blamite content creation";
23  }
24 
25  int execute(std::vector<std::string> args)
26  {
27  BlamTool::Logger::LogEvent("dummy command, this should not execute");
28 
29  return 0;
30  }
31 };
GUICommand::GUICommand
GUICommand()
Definition: GUICommand.hpp:18
GUICommand::execute
int execute(std::vector< std::string > args)
Definition: GUICommand.hpp:25
STRINGS_API
#define STRINGS_API
Definition: GUICommand.hpp:11
BlamTool::Logger::LogEvent
STRINGS_INTERNAL void LogEvent(BlamBasicLogMessage message)
Logs an event to Tool's log.
Definition: logger.cpp:10
logger.h
GUICommand
Definition: GUICommand.hpp:14
ToolCommand
Definition: ToolCommand.hpp:12