summaryrefslogtreecommitdiffstats
path: root/src/library/trackset/crate/cratefeature.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/trackset/crate/cratefeature.h')
-rw-r--r--src/library/trackset/crate/cratefeature.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/library/trackset/crate/cratefeature.h b/src/library/trackset/crate/cratefeature.h
index b3e017682c..1d5bb2bdcb 100644
--- a/src/library/trackset/crate/cratefeature.h
+++ b/src/library/trackset/crate/cratefeature.h
@@ -47,6 +47,12 @@ class CrateFeature : public BaseTrackSetFeature {
void onRightClickChild(const QPoint& globalPos, QModelIndex index) override;
void slotCreateCrate();
+#ifdef __ENGINEPRIME__
+ signals:
+ void exportAllCrates();
+ void exportCrate(CrateId crateId);
+#endif
+
private slots:
void slotDeleteCrate();
void slotRenameCrate();
@@ -59,6 +65,10 @@ class CrateFeature : public BaseTrackSetFeature {
void slotExportPlaylist();
// Copy all of the tracks in a crate to a new directory (like a thumbdrive).
void slotExportTrackFiles();
+#ifdef __ENGINEPRIME__
+ void slotExportAllCrates();
+ void slotExportCrate();
+#endif
void slotAnalyzeCrate();
void slotCrateTableChanged(CrateId crateId);
void slotCrateContentChanged(CrateId crateId);
@@ -110,6 +120,10 @@ class CrateFeature : public BaseTrackSetFeature {
parented_ptr<QAction> m_pCreateImportPlaylistAction;
parented_ptr<QAction> m_pExportPlaylistAction;
parented_ptr<QAction> m_pExportTrackFilesAction;
+#ifdef __ENGINEPRIME__
+ parented_ptr<QAction> m_pExportAllCratesAction;
+ parented_ptr<QAction> m_pExportCrateAction;
+#endif
parented_ptr<QAction> m_pAnalyzeCrateAction;
QPointer<WLibrarySidebar> m_pSidebarWidget;