Engauge Digitizer  2
ImportImageExtensions.h
1 /******************************************************************************************************
2  * (C) 2018 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef IMPORT_IMAGE_EXTENSIONS_H
8 #define IMPORT_IMAGE_EXTENSIONS_H
9 
10 #include <QStringList>
11 
14 {
15 public:
16 
19 
21  QStringList fileExtensionsWithAsterisks () const;
22 
24  bool offers (const QString &fileExtension) const;
25 };
26 
27 #endif // IMPORT_IMAGE_EXTENSIONS_H
Provides list of file extensions for import.
bool offers(const QString &fileExtension) const
Return true if specified file extension is supported.
ImportImageExtensions()
Single constructor.
QStringList fileExtensionsWithAsterisks() const
File extensions for use in file dialogs.