/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Editor/EditorFramework/Dialogs/RemoteConnectionDlg.moc.h
47 строк
1 KB
Ingrater
Clang-format fixes and update to 18.1.1 (#1234)
10 мар 2024, 15:51
Не верифицирован
10 мар 2024, 15:51
2f16acf
Код
Авторство
О чём код?
#pragma once #include <EditorFramework/EditorFrameworkDLL.h> #include <EditorFramework/ui_RemoteConnectionDlg.h> #include <Foundation/Strings/String.h> #include <QDialog> class EZ_EDITORFRAMEWORK_DLL ezQtRemoteConnectionDlg : public QDialog, public Ui_ezQtRemoteConnectionDlg { public: Q_OBJECT struct Address { ezUInt8 part[4]; Address(); void operator=(const Address& rhs); bool operator==(const Address& rhs) const; bool IsEmpty() const; }; public: ezQtRemoteConnectionDlg(QWidget* pParent); ~ezQtRemoteConnectionDlg(); Address m_UsedAddress; Address m_UsedFsAddress; QString GetResultingAddress() const; QString GetResultingFsAddress() const; private Q_SLOTS: void on_ButtonConnect_clicked(); void on_ButtonLaunchFS_clicked(); void onRecentIPselected(); void onRecentFsIPselected(); private: Address m_RecentAddresses[5]; Address m_RecentFsAddresses[5]; virtual void showEvent(QShowEvent* event) override; void AddToRecentAddresses(Address* pRecentAddresses, const Address& addr); void SetCurrentIP(const Address& addr); void SetCurrentFsIP(const Address& addr); };