summaryrefslogtreecommitdiffstats
path: root/src/library/dlgtrackmetadataexport.h
blob: 58343b671bfbb2a8d21a6ea1fdbf1e80e374a3cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <QDialog>


namespace mixxx {

// This is just an ugly hack to avoid duplicate code and to define
// translatable strings only once. Inheritance from QDialog is
// needed for i18n message strings. The class contains mutable
// static data and must only be used within the UI thread.
class DlgTrackMetadataExport: private QDialog {
    Q_OBJECT
  public:
    static void showMessageBoxOncePerSession();

  private:
    static bool s_bShownDuringThisSession;
};

} // namespace mixxx