| 1 | /***************************************************************************** |
| 2 | ** QNapi |
| 3 | ** Copyright (C) 2008-2017 Piotr KrzemiĆski <[email protected]> |
| 4 | ** |
| 5 | ** This program is free software; you can redistribute it and/or modify |
| 6 | ** it under the terms of the GNU General Public License as published by |
| 7 | ** the Free Software Foundation; either version 2 of the License, or |
| 8 | ** (at your option) any later version. |
| 9 | ** |
| 10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
| 11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | ** |
| 13 | *****************************************************************************/ |
| 14 | |
| 15 | #ifndef SUBTITLEFORMATSREGISTRY_H |
| 16 | #define SUBTITLEFORMATSREGISTRY_Hcxx . . $ `libqnapi/src/subconvert/subtitleformatsregistry.h:16:9`! |
| 17 | |
| 18 | #include "subconvert/subtitleformat.h"cxx . . $ `<file>/libqnapi/src/subconvert/subtitleformat.h`/ |
| 19 | |
| 20 | #include <QMap> |
| 21 | #include <QSharedPointer> |
| 22 | #include <QString> |
| 23 | #include <QStringList> |
| 24 | |
| 25 | class SubtitleFormatsRegistrycxx . . $ SubtitleFormatsRegistry# { |
| 26 | public: |
| 27 | SubtitleFormatsRegistrycxx . . $ SubtitleFormatsRegistry#SubtitleFormatsRegistry(49f6e7a06ebc5aa8).(); |
| 28 | |
| 29 | QStringListcxx . . $ QStringList# listFormatNamescxx . . $ SubtitleFormatsRegistry#listFormatNames(e1dbd5c4feadc8f5).() const; |
| 30 | QSharedPointercxx . . $ QSharedPointer#<const SubtitleFormatcxx . . $ SubtitleFormat#> selectcxx . . $ SubtitleFormatsRegistry#select(849396506c5f6260).(const QStringcxx . . $ QString# &format) const; |
| 31 | |
| 32 | private: |
| 33 | void registerFormatcxx . . $ SubtitleFormatsRegistry#registerFormat(46173dd4a4ca6dac).(SubtitleFormatcxx . . $ SubtitleFormat# *format); |
| 34 | |
| 35 | QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QSharedPointercxx . . $ QSharedPointer#<SubtitleFormatcxx . . $ SubtitleFormat#>> formatscxx . . $ SubtitleFormatsRegistry#formats.; |
| 36 | }; |
| 37 | |
| 38 | #endif // SUBTITLEFORMATSREGISTRY_H |