ports/graphics/zeno/files/patch-ui_zenoedit_zenoapplication.h
Martin Filla 41828ceba7 graphics/zeno: New port: simulation & rendering engine in nodes
ZENO is an open-source, Node based 3D system able to produce
cinematic physics effects at High Efficiency, it was designed
for large scale simulations and has been tested on complex
setups. Aside of its simulation Tools, ZENO provides necessary
visualization nodes for users to import and run simulations if
you feel that the current software you are using is too slow.

https://github.com/zenustech/zeno/blob/master/README.md
https://zenustech.com

PR:	278611
2024-07-29 19:47:45 +03:00

45 lines
1.5 KiB
C++

--- ui/zenoedit/zenoapplication.h.orig 2023-11-22 19:17:26 UTC
+++ ui/zenoedit/zenoapplication.h
@@ -3,15 +3,15 @@
#include <QtWidgets>
#include "zwidgetostream.h"
+#include "zenomainwindow.h"
#include "cache/zcachemgr.h"
#include "uilogic/procclipboard.h"
#include <zeno/utils/scope_exit.h>
class GraphsManagment;
-class ZenoMainWindow;
-#if defined(ZENO_MULTIPROCESS) && defined(ZENO_IPC_USE_TCP)
+//#if defined(ZENO_MULTIPROCESS) && defined(ZENO_IPC_USE_TCP)
class ZTcpServer;
-#endif
+//#endif
class ZenoApplication : public QApplication
{
@@ -26,9 +26,9 @@ class ZenoApplication : public QApplication (public)
QWidget* getWindow(const QString& objName);
std::shared_ptr<ZCacheMgr> cacheMgr() const;
std::shared_ptr<ProcessClipboard> procClipboard() const;
-#if defined(ZENO_MULTIPROCESS) && defined(ZENO_IPC_USE_TCP)
+//#if defined(ZENO_MULTIPROCESS) && defined(ZENO_IPC_USE_TCP)
ZTcpServer* getServer();
-#endif
+//#endif
QStandardItemModel* logModel() const;
bool isUIApplication() const { return m_bUIApp; }
@@ -39,9 +39,9 @@ private slots: (private)
QString readQss(const QString& qssPath);
void initMetaTypes();
-#if defined(ZENO_MULTIPROCESS) && defined(ZENO_IPC_USE_TCP)
+//#if defined(ZENO_MULTIPROCESS) && defined(ZENO_IPC_USE_TCP)
ZTcpServer* m_server;
-#endif
+//#endif
std::shared_ptr<ZWidgetErrStream> m_spUILogStream;
std::shared_ptr<ZCacheMgr> m_spCacheMgr;
std::shared_ptr<ProcessClipboard> m_spProcClipboard;