1812146a8SNicolas Bonnefon /* 2812146a8SNicolas Bonnefon * Copyright (C) 2014 Nicolas Bonnefon and other contributors 3812146a8SNicolas Bonnefon * 4812146a8SNicolas Bonnefon * This file is part of glogg. 5812146a8SNicolas Bonnefon * 6812146a8SNicolas Bonnefon * glogg is free software: you can redistribute it and/or modify 7812146a8SNicolas Bonnefon * it under the terms of the GNU General Public License as published by 8812146a8SNicolas Bonnefon * the Free Software Foundation, either version 3 of the License, or 9812146a8SNicolas Bonnefon * (at your option) any later version. 10812146a8SNicolas Bonnefon * 11812146a8SNicolas Bonnefon * glogg is distributed in the hope that it will be useful, 12812146a8SNicolas Bonnefon * but WITHOUT ANY WARRANTY; without even the implied warranty of 13812146a8SNicolas Bonnefon * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14812146a8SNicolas Bonnefon * GNU General Public License for more details. 15812146a8SNicolas Bonnefon * 16812146a8SNicolas Bonnefon * You should have received a copy of the GNU General Public License 17812146a8SNicolas Bonnefon * along with glogg. If not, see <http://www.gnu.org/licenses/>. 18812146a8SNicolas Bonnefon */ 19812146a8SNicolas Bonnefon 20812146a8SNicolas Bonnefon #ifndef LOADINGSTATUS_H 21812146a8SNicolas Bonnefon #define LOADINGSTATUS_H 22812146a8SNicolas Bonnefon 23*7d8fc2b3SNicolas Bonnefon #include <QMetaType> 24*7d8fc2b3SNicolas Bonnefon 25812146a8SNicolas Bonnefon // Loading status of a file 26812146a8SNicolas Bonnefon enum class LoadingStatus { 27812146a8SNicolas Bonnefon Successful, 28812146a8SNicolas Bonnefon Interrupted, 29812146a8SNicolas Bonnefon NoMemory 30812146a8SNicolas Bonnefon }; 31812146a8SNicolas Bonnefon 32812146a8SNicolas Bonnefon Q_DECLARE_METATYPE( LoadingStatus ) 33812146a8SNicolas Bonnefon 34812146a8SNicolas Bonnefon #endif 35