xref: /glogg/src/loadingstatus.h (revision 812146a8302488475ae27a1d22ae44a1379476a9)
1*812146a8SNicolas Bonnefon /*
2*812146a8SNicolas Bonnefon  * Copyright (C) 2014 Nicolas Bonnefon and other contributors
3*812146a8SNicolas Bonnefon  *
4*812146a8SNicolas Bonnefon  * This file is part of glogg.
5*812146a8SNicolas Bonnefon  *
6*812146a8SNicolas Bonnefon  * glogg is free software: you can redistribute it and/or modify
7*812146a8SNicolas Bonnefon  * it under the terms of the GNU General Public License as published by
8*812146a8SNicolas Bonnefon  * the Free Software Foundation, either version 3 of the License, or
9*812146a8SNicolas Bonnefon  * (at your option) any later version.
10*812146a8SNicolas Bonnefon  *
11*812146a8SNicolas Bonnefon  * glogg is distributed in the hope that it will be useful,
12*812146a8SNicolas Bonnefon  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13*812146a8SNicolas Bonnefon  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*812146a8SNicolas Bonnefon  * GNU General Public License for more details.
15*812146a8SNicolas Bonnefon  *
16*812146a8SNicolas Bonnefon  * You should have received a copy of the GNU General Public License
17*812146a8SNicolas Bonnefon  * along with glogg.  If not, see <http://www.gnu.org/licenses/>.
18*812146a8SNicolas Bonnefon  */
19*812146a8SNicolas Bonnefon 
20*812146a8SNicolas Bonnefon #ifndef LOADINGSTATUS_H
21*812146a8SNicolas Bonnefon #define LOADINGSTATUS_H
22*812146a8SNicolas Bonnefon 
23*812146a8SNicolas Bonnefon // Loading status of a file
24*812146a8SNicolas Bonnefon enum class LoadingStatus {
25*812146a8SNicolas Bonnefon     Successful,
26*812146a8SNicolas Bonnefon     Interrupted,
27*812146a8SNicolas Bonnefon     NoMemory
28*812146a8SNicolas Bonnefon };
29*812146a8SNicolas Bonnefon 
30*812146a8SNicolas Bonnefon Q_DECLARE_METATYPE( LoadingStatus )
31*812146a8SNicolas Bonnefon 
32*812146a8SNicolas Bonnefon #endif
33