summaryrefslogtreecommitdiff
path: root/lyt/packagebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lyt/packagebase.cpp24
1 files changed, 23 insertions, 1 deletions
diff --git a/lyt/packagebase.cpp b/lyt/packagebase.cpp
index e186435..5855688 100644
--- a/lyt/packagebase.cpp
+++ b/lyt/packagebase.cpp
@@ -17,9 +17,31 @@
#include "packagebase.h"
-LYTPackageBase::LYTPackageBase() {
+LYTPackageBase::LYTPackageBase(QObject *parent) : QObject(parent) {
// do nothing
}
LYTPackageBase::~LYTPackageBase() {
}
+
+
+
+QString LYTPackageBase::defaultPathForItemType(ItemType type, bool withArc) {
+ switch (type) {
+ case Layout:
+ return withArc ? "arc/blyt" : "blyt";
+ case Animation:
+ return withArc ? "arc/anim" : "anim";
+ case Texture:
+ return withArc ? "arc/timg" : "timg";
+ case Font:
+ return withArc ? "arc/font" : "font";
+ default:
+ return QString();
+ }
+}
+
+
+QByteArray LYTPackageBase::createSkeletonItem(ItemType type) {
+ return QByteArray();
+}