~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/pluginhandler.h

  • Committer: Adam Reichold
  • Date: 2018-05-04 17:49:20 UTC
  • Revision ID: adam.reichold@t-online.de-20180504174920-mqn268i0h46fq311
Add static_resources configuration option to embed translations and online help into binary to facilitate single binary builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 
3
 
Copyright 2018 S. Razi Alavizadeh
4
 
Copyright 2012-2013, 2017, 2018 Adam Reichold
 
3
Copyright 2012-2013, 2017 Adam Reichold
5
4
 
6
5
This file is part of qpdfview.
7
6
 
24
23
#define PLUGINHANDLER_H
25
24
 
26
25
#include <QObject>
27
 
#include <QMultiMap>
 
26
#include <QMap>
28
27
 
29
28
class QString;
30
29
class QWidget;
57
56
        Image,
58
57
        GZip,
59
58
        BZip2,
60
 
        XZ,
61
 
        ZIP,
62
 
        EPUB,
63
 
        XPS,
64
 
        FB2,
65
 
        CBZ
 
59
        XZ
66
60
    };
67
61
 
68
62
    static QLatin1String fileTypeName(FileType fileType);
79
73
    static PluginHandler* s_instance;
80
74
    PluginHandler(QObject* parent = 0);
81
75
 
82
 
    QMultiMap< FileType, Plugin* > m_plugins;
 
76
    QMap< FileType, Plugin* > m_plugins;
83
77
 
84
78
    QMultiMap< FileType, QString > m_objectNames;
85
79
    QMultiMap< FileType, QString > m_fileNames;