// // Created by robin on 10/1/17. // #ifndef MIFARE_TOOLS_MAINWINDOW_H #define MIFARE_TOOLS_MAINWINDOW_H #include #include #include "ui_MainWindow.h" class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget* parent = nullptr); ~MainWindow() override = default; bool initLibNfc(); void refreshReaders(); template void showError(Result result); private: QScopedPointer m_pUi; QSharedPointer m_pLibNfc; std::vector> m_devices; }; #endif //MIFARE_TOOLS_MAINWINDOW_H