Derpstances. Everything renamed. Launching does not yet work.
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
#include <QtCore>
|
||||
#include <memory>
|
||||
|
||||
class OneSixLibrary;
|
||||
class DerpLibrary;
|
||||
|
||||
class OneSixVersion : public QAbstractListModel
|
||||
class DerpVersion : public QAbstractListModel
|
||||
{
|
||||
// Things required to implement the Qt list model
|
||||
public:
|
||||
@@ -33,12 +33,12 @@ public:
|
||||
// serialization/deserialization
|
||||
public:
|
||||
bool toOriginalFile();
|
||||
static std::shared_ptr<OneSixVersion> fromJson(QJsonObject root);
|
||||
static std::shared_ptr<OneSixVersion> fromFile(QString filepath);
|
||||
static std::shared_ptr<DerpVersion> fromJson(QJsonObject root);
|
||||
static std::shared_ptr<DerpVersion> fromFile(QString filepath);
|
||||
|
||||
public:
|
||||
QList<std::shared_ptr<OneSixLibrary>> getActiveNormalLibs();
|
||||
QList<std::shared_ptr<OneSixLibrary>> getActiveNativeLibs();
|
||||
QList<std::shared_ptr<DerpLibrary>> getActiveNormalLibs();
|
||||
QList<std::shared_ptr<DerpLibrary>> getActiveNativeLibs();
|
||||
// called when something starts/stops messing with the object
|
||||
// FIXME: these are ugly in every possible way.
|
||||
void externalUpdateStart();
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
QString mainClass;
|
||||
|
||||
/// the list of libs - both active and inactive, native and java
|
||||
QList<std::shared_ptr<OneSixLibrary>> libraries;
|
||||
QList<std::shared_ptr<DerpLibrary>> libraries;
|
||||
|
||||
/*
|
||||
FIXME: add support for those rules here? Looks like a pile of quick hacks to me though.
|
||||
|
Reference in New Issue
Block a user