[nostalgia/studio] Move OxFSTreeView out of Studio lib
This commit is contained in:
parent
3afaa0fc85
commit
038f0ee493
@ -4,6 +4,7 @@ add_executable(
|
||||
nostalgia-studio MACOSX_BUNDLE
|
||||
main.cpp
|
||||
mainwindow.cpp
|
||||
oxfstreeview.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
|
@ -7,7 +7,6 @@ add_library(
|
||||
json_read.cpp
|
||||
json_write.cpp
|
||||
wizard.cpp
|
||||
oxfstreeview.cpp
|
||||
plugin.cpp
|
||||
project.cpp
|
||||
)
|
||||
@ -30,7 +29,6 @@ install(
|
||||
json_read.hpp
|
||||
json_write.hpp
|
||||
wizard.hpp
|
||||
oxfstreeview.hpp
|
||||
plugin.hpp
|
||||
project.hpp
|
||||
DESTINATION
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <QToolBar>
|
||||
#include <QVector>
|
||||
#include <QWizardPage>
|
||||
|
||||
@ -19,11 +20,20 @@
|
||||
|
||||
namespace nostalgia::studio {
|
||||
|
||||
struct Context {
|
||||
struct Context: public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
QString appName;
|
||||
QString orgName;
|
||||
QWidget *tabParent = nullptr;
|
||||
const Project *project = nullptr;
|
||||
|
||||
signals:
|
||||
void addToolBar(QToolBar *tb);
|
||||
|
||||
void removeToolBar(QToolBar *tb);
|
||||
|
||||
};
|
||||
|
||||
struct EditorMaker {
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "lib/editor.hpp"
|
||||
#include "lib/json.hpp"
|
||||
#include "lib/oxfstreeview.hpp"
|
||||
#include "lib/project.hpp"
|
||||
#include "lib/wizard.hpp"
|
||||
|
||||
|
@ -24,10 +24,11 @@
|
||||
|
||||
#include <ox/std/types.hpp>
|
||||
|
||||
#include "lib/oxfstreeview.hpp"
|
||||
#include "lib/plugin.hpp"
|
||||
#include "lib/project.hpp"
|
||||
|
||||
#include "oxfstreeview.hpp"
|
||||
|
||||
namespace nostalgia::studio {
|
||||
|
||||
struct NostalgiaStudioState {
|
||||
|
@ -12,5 +12,4 @@
|
||||
#include "lib/json.hpp"
|
||||
#include "lib/plugin.hpp"
|
||||
#include "lib/project.hpp"
|
||||
#include "lib/oxfstreeview.hpp"
|
||||
#include "lib/wizard.hpp"
|
||||
|
Loading…
Reference in New Issue
Block a user