#pragma once
/*=========================================================================

 medInria

 Copyright (c) INRIA 2013 - 2020. All rights reserved.
 See LICENSE.txt for details.
 
  This software is distributed WITHOUT ANY WARRANTY; without even
  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  PURPOSE.

=========================================================================*/

//#include <QFileDialog>
//#include <QTreeWidget>
//#include <QTreeView>
//
//#include <medDataIndex.h>
//#include <medDataManager.h>
//
//class QTreeWidget;
//class QTreeWidgetItem;
//class medSaveModifiedDialogPrivate;
//
///**
// * @brief Dialog window displaying non-persistent database items (i.e. unsaved data) when the user is about to close the application
// */
//class medSaveModifiedDialog: public QDialog
//{
//    Q_OBJECT
//    
//public:
//  
//    medSaveModifiedDialog(QWidget *parent);
//    virtual ~medSaveModifiedDialog();
//
//public slots:
//
//    /**
//     * Method to store non-persistent data (according to the tree widget items that are checked) into the database.
//     */
//    void saveAndQuit();
//
//    /**
//     * Method to decrement a counter (i.e. the number of checked items that remain to be saved).
//     */
//    void updateCounter();
//
//    /**
//     * This method rebuilds the treewidget.
//     */
//    void onUpdateTree();
//
//private:
//  
//    medSaveModifiedDialogPrivate *d;
//};
