Changeset View
Changeset View
Standalone View
Standalone View
src/metadata/xliffextractor.h
Show All 14 Lines | 1 | /* | |||
---|---|---|---|---|---|
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | Lesser General Public License for more details. | 16 | Lesser General Public License for more details. | ||
17 | 17 | | |||
18 | You should have received a copy of the GNU Lesser General Public | 18 | You should have received a copy of the GNU Lesser General Public | ||
19 | License along with this library; if not, write to the Free Software | 19 | License along with this library; if not, write to the Free Software | ||
20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | 21 | */ | ||
22 | 22 | | |||
23 | | ||||
24 | #ifndef XLIFFEXTRACTOR_H | 23 | #ifndef XLIFFEXTRACTOR_H | ||
25 | #define XLIFFEXTRACTOR_H | 24 | #define XLIFFEXTRACTOR_H | ||
26 | 25 | | |||
27 | #include "filemetadata.h" | 26 | #include "filemetadata.h" | ||
28 | 27 | | |||
29 | class XliffExtractor | 28 | class XliffExtractor | ||
30 | { | 29 | { | ||
31 | 30 | | |||
32 | public: | 31 | public: | ||
33 | XliffExtractor(); | 32 | XliffExtractor() = default; | ||
34 | void extract(const QString& filePath, FileMetaData& data); | 33 | FileMetaData extract(const QString& filePath); | ||
35 | }; | 34 | }; | ||
36 | 35 | | |||
37 | | ||||
38 | #endif // PLAINTEXTEXTRACTOR_H | 36 | #endif // PLAINTEXTEXTRACTOR_H |