NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXMessageBox.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// NXMessageBox.ja
9//
10// 生成工具:
11// apiwrap
12//
13// 警告:
14// 此文件为自动生成,请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <vector>
19#include <NXOpen/NXString.hxx>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/TaggedObject.hxx>
22#include <NXOpen/libnxopenuicpp_exports.hxx>
23#ifdef _MSC_VER
24#pragma warning(push)
25#pragma warning(disable:4996)
26#endif
27#ifdef __GNUC__
28#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29#endif
30namespace NXOpen
31{
32 class NXMessageBox;
33 class UI;
34 class NXMessageBoxImpl;
39 class NXOPENUICPPEXPORT NXMessageBox
40 {
49 private: NXMessageBoxImpl * m_nxmessagebox_impl;
50 private: NXOpen::UI* m_owner;
52 public: explicit NXMessageBox(NXOpen::UI *owner);
54 public:
56 tag_t Tag() const;
57 public: ~NXMessageBox();
63 public: int Show
64 (
65 const NXString & title ,
67 const NXString & message
68 );
74 int Show
75 (
76 const char * title ,
78 const char * message
79 );
85 public: int Show
86 (
87 const NXString & title ,
89 std::vector<NXString> & messages
90 );
96 int Show
97 (
98 const char * title ,
100 std::vector<NXString> & messages
101 );
102 }; //lint !e1712 default constructor not defined for class
103}
104#ifdef _MSC_VER
105#pragma warning(pop)
106#endif
107#ifdef __GNUC__
108#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
109#pragma GCC diagnostic warning "-Wdeprecated-declarations"
110#endif
111#endif
112#undef EXPORTLIBRARY