Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
OutputDeviceConsole.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#
pragma
once
4
5
#
include
"CoreTypes.h"
6
#
include
"Misc/OutputDevice.h"
7
#
include
"Containers/UnrealString.h"
8
9
/**
10
* This class servers as the base class for console window output.
11
*/
12
class
FOutputDeviceConsole
13
:
public
FOutputDevice
14
{
15
public
:
16
17
/**
18
* Shows or hides the console window.
19
*
20
* @param ShowWindow Whether to show (true) or hide (false) the console window.
21
*/
22
virtual
void
Show
(
bool
ShowWindow )=0;
23
24
/**
25
* Returns whether console is currently shown or not.
26
*
27
* @return true if console is shown, false otherwise.
28
*/
29
virtual
bool
IsShown
()=0;
30
31
/**
32
* Returns whether the application is already attached to a console window.
33
*
34
* @return true if console is attached, false otherwise.
35
*/
36
virtual
bool
IsAttached
()
37
{
38
return
false
;
39
}
40
41
/**
42
* Sets the INI file name to write console settings to.
43
*
44
* @param InFilename The INI file name to set.
45
*/
46
void
SetIniFilename
(
const
TCHAR* InFilename)
47
{
48
IniFilename = InFilename;
49
}
50
51
protected
:
52
53
/** Ini file name to write console settings to. */
54
FString
IniFilename
;
55
};
FOutputDeviceConsole
Definition
OutputDeviceConsole.h:14
FOutputDeviceConsole::Show
virtual void Show(bool ShowWindow)=0
FOutputDeviceConsole::IsShown
virtual bool IsShown()=0
FOutputDeviceConsole::IniFilename
FString IniFilename
Definition
OutputDeviceConsole.h:54
FOutputDeviceConsole::IsAttached
virtual bool IsAttached()
Definition
OutputDeviceConsole.h:36
FOutputDeviceConsole::SetIniFilename
void SetIniFilename(const TCHAR *InFilename)
Definition
OutputDeviceConsole.h:46
FOutputDevice
Definition
OutputDevice.h:130
FString
Definition
UnrealString.h:59
Downloads
ArkServerAPI_NEW
ASA
AsaApi
AsaApi
Core
Public
API
UE
Misc
OutputDeviceConsole.h
Generated by
1.10.0