[nostalgia/studio] Add studio::Editor type as base type for editors
This commit is contained in:
parent
a8bed71255
commit
641c6ae637
@ -3,6 +3,7 @@ set(CMAKE_AUTOMOC ON)
|
|||||||
|
|
||||||
add_library(
|
add_library(
|
||||||
NostalgiaStudio SHARED
|
NostalgiaStudio SHARED
|
||||||
|
editor.cpp
|
||||||
json_read.cpp
|
json_read.cpp
|
||||||
json_write.cpp
|
json_write.cpp
|
||||||
wizard.cpp
|
wizard.cpp
|
||||||
@ -23,6 +24,7 @@ target_link_libraries(
|
|||||||
|
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES
|
||||||
|
editor.hpp
|
||||||
json.hpp
|
json.hpp
|
||||||
json_err.hpp
|
json_err.hpp
|
||||||
json_read.hpp
|
json_read.hpp
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
using namespace nostalgia::studio;
|
using namespace nostalgia::studio;
|
||||||
using namespace ox;
|
using namespace ox;
|
||||||
|
|
||||||
int run(int argc, char **args) {
|
int main(int argc, char **args) {
|
||||||
ClArgs clargs(argc, const_cast<const char**>(args));
|
ClArgs clargs(argc, const_cast<const char**>(args));
|
||||||
QString argProfilePath = clargs.getString("profile").c_str();
|
QString argProfilePath = clargs.getString("profile").c_str();
|
||||||
|
|
||||||
@ -31,7 +31,3 @@ int run(int argc, char **args) {
|
|||||||
|
|
||||||
return app.exec();
|
return app.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char **args) {
|
|
||||||
return run(argc, args);
|
|
||||||
}
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "lib/editor.hpp"
|
||||||
#include "lib/json.hpp"
|
#include "lib/json.hpp"
|
||||||
#include "lib/plugin.hpp"
|
#include "lib/plugin.hpp"
|
||||||
#include "lib/project.hpp"
|
#include "lib/project.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user