Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
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
3
#include <
Strings/editor/tool/logger/logger.h
>
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
14
class
STRINGS_API
GUICommand
:
public
ToolCommand
15
{
16
public
:
17
18
GUICommand
()
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
Strings
editor
tool
console
commands
GUICommand.hpp
Generated on Sun May 23 2021 21:03:06 for Blamite Game Engine - Strings by
1.8.17