~verzegnassi-stefano/+junk/pdf-viewer

« back to all changes in this revision

Viewing changes to src/plugin/libreofficetoolkit-qml-plugin/loerror.h

  • Committer: Stefano Verzegnassi
  • Date: 2016-04-15 10:51:55 UTC
  • Revision ID: stefano92.100@gmail.com-20160415105155-swsdn420t6n85b2i
 * Removed all the not necessary stuff, including the LibreOffice Viewer and the Plain Text Viewer
* 2014 WelcomePage is back again

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2015 Canonical, Ltd.
3
 
 *
4
 
 * This program is free software: you can redistribute it and/or modify it
5
 
 * under the terms of the GNU General Public License version 3, as published
6
 
 * by the Free Software Foundation.
7
 
 *
8
 
 * This program is distributed in the hope that it will be useful, but
9
 
 * WITHOUT ANY WARRANTY; without even the implied warranties of
10
 
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11
 
 * PURPOSE.  See the GNU General Public License for more details.
12
 
 *
13
 
 * You should have received a copy of the GNU General Public License along
14
 
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
15
 
 *
16
 
 */
17
 
 
18
 
#ifndef LOERROR_H
19
 
#define LOERROR_H
20
 
 
21
 
#include <QObject>
22
 
 
23
 
class LibreOfficeError : public QObject
24
 
{
25
 
    Q_OBJECT
26
 
    Q_ENUMS(Error)
27
 
 
28
 
public:
29
 
    enum Error {
30
 
        NoError                   = 0,
31
 
        LibreOfficeNotFound       = 1,
32
 
        LibreOfficeNotInitialized = 2,
33
 
        DocumentNotLoaded         = 3
34
 
    };
35
 
};
36
 
 
37
 
#endif // LOERROR_H