WSF
WsfScriptPrompt.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2018 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFSCRIPTPROMPT_HPP
13#define WSFSCRIPTPROMPT_HPP
14
15#include "UtScriptClass.hpp"
16#include "UtScriptClassDefine.hpp"
17
18class WsfScriptPromptClass : public UtScriptClass
19{
20public:
21 using ScriptButtons = std::vector<std::pair<std::string, std::string>>;
22
24 {
25 std::string platformName;
26 std::string title;
27 std::string message;
29 bool block;
30 };
31
32 WsfScriptPromptClass(const std::string& aClassName, UtScriptTypes* aScriptTypesPtr);
33
36 UT_DECLARE_SCRIPT_METHOD(DisplayAndPause_1);
37 UT_DECLARE_SCRIPT_METHOD(DisplayAndPause_2);
38};
39
40#endif
UT_DECLARE_SCRIPT_METHOD(Display_2)
UT_DECLARE_SCRIPT_METHOD(DisplayAndPause_2)
WsfScriptPromptClass(const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)
Definition WsfScriptPrompt.cpp:76
UT_DECLARE_SCRIPT_METHOD(DisplayAndPause_1)
UT_DECLARE_SCRIPT_METHOD(Display_1)
std::vector< std::pair< std::string, std::string > > ScriptButtons
Definition WsfScriptPrompt.hpp:21
Definition WsfScriptPrompt.hpp:24
std::string message
Definition WsfScriptPrompt.hpp:27
std::string platformName
Definition WsfScriptPrompt.hpp:25
ScriptButtons scriptButtons
Definition WsfScriptPrompt.hpp:28
std::string title
Definition WsfScriptPrompt.hpp:26
bool block
Definition WsfScriptPrompt.hpp:29
Copyrights Multiple, All Rights Reserved