Skip to content

Commit

Permalink
[io]temp code.
Browse files Browse the repository at this point in the history
  • Loading branch information
legobadman committed Jan 10, 2022
1 parent 1c918a1 commit f7edca9
Show file tree
Hide file tree
Showing 12 changed files with 897 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ if (ZENO_BUILD_EDITOR OR ZENO_BUILD_DESIGNER)
message(STATUS "Building Zeno UI Library")
add_subdirectory(zenoui)
add_subdirectory(system)
add_subdirectory(zenoio)
endif()

if (ZENO_BUILD_EDITOR)
Expand Down
4 changes: 2 additions & 2 deletions editor/launch/corelaunch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ QString g_iopath;
void launchProgram(GraphsModel* pModel, int nframes)
{
//todo
LoadLibrary("C:\\zeno2\\zenqt\\bin\\zeno_ZenoFX.dll");
LoadLibrary("C:\\zeno2\\zenqt\\bin\\zeno_oldzenbase.dll");
LoadLibrary("zeno_ZenoFX.dll");
LoadLibrary("zeno_oldzenbase.dll");

cleanIOPath();

Expand Down
20 changes: 20 additions & 0 deletions zenoio/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
find_package(Qt5 REQUIRED COMPONENTS Widgets)

file(GLOB_RECURSE source CONFIGURE_DEPENDS *.h *.cpp *.ui *.qrc)



add_library(zenoio STATIC ${source})

set_property(TARGET zenoio PROPERTY AUTOUIC ON)
set_property(TARGET zenoio PROPERTY AUTOMOC ON)
set_property(TARGET zenoio PROPERTY AUTORCC ON)

target_link_libraries(zenoio PUBLIC Qt5::Widgets glad zeno)
target_include_directories(zenoio
PUBLIC .
PRIVATE ../3rdparty
PRIVATE ../zenoui
PRIVATE ${Qt5Widgets_PRIVATE_INCLUDE_DIRS}
PRIVATE ../zeno/zeno
)
1 change: 1 addition & 0 deletions zenoio/acceptor/coreacceptor.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "coreacceptor.h"
6 changes: 6 additions & 0 deletions zenoio/acceptor/coreacceptor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef __CORE_ACCEPTOR_H__
#define __CORE_ACCEPTOR_H__



#endif
16 changes: 16 additions & 0 deletions zenoio/acceptor/iacceptor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#ifndef __IACCEPTOR_H__
#define __IACCEPTOR_H__

#include <model/modeldata.h>

interface IAcceptor
{
virtual void setDescriptors(const NODE_DESCS& nodesParams) = 0;
virtual void BeginSubgraph(const QString& name) = 0;
virtual void EndSubgraph() = 0;
virtual void switchSubGraph(const QString& graphName) = 0;
virtual void addNodeData()
};


#endif
1 change: 1 addition & 0 deletions zenoio/acceptor/modelacceptor.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "modelacceptor.h"
5 changes: 5 additions & 0 deletions zenoio/acceptor/modelacceptor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifndef __MODEL_ACCEPTOR_H__
#define __MODEL_ACCEPTOR_H__


#endif
Loading

0 comments on commit f7edca9

Please sign in to comment.