File indexing completed on 2024-05-12 04:47:03
0001 #pragma once 0002 0003 #include <QFileInfo> 0004 #include <QObject> 0005 #include <QDebug> 0006 0007 class Station : public QObject 0008 { 0009 Q_OBJECT 0010 0011 public: 0012 static Station *instance() 0013 { 0014 static Station station; 0015 return &station; 0016 } 0017 0018 Station(const Station &) = delete; 0019 Station &operator=(const Station &) = delete; 0020 Station(Station &&) = delete; 0021 Station &operator=(Station &&) = delete; 0022 0023 private: 0024 explicit Station(QObject *parent = nullptr) 0025 : QObject(parent) 0026 { 0027 } 0028 };