1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
23 #include <tools/stream.hxx>
24 #include <tools/fsys.hxx>
25 #include <vcl/bitmap.hxx>
32 #define EXIT_NOERROR 0
33 #define EXIT_MISSING_BITMAP 1
34 #define EXIT_NOSRSFILE 2
35 #define EXIT_NOIMGLIST 3
36 #define EXIT_DIMENSIONERROR 4
37 #define EXIT_IOERROR 5
38 #define EXIT_COMMONERROR 6
39 #define EXIT_MISSING_RESOURCE 7
40 #define EXIT_COLORDEPTHERROR 8
41 #define EXIT_MISSING_SOLARSRC_ENV 9
49 char maLangDir
[ 257 ];
67 void ImplCreate( const ::std::vector
< DirEntry
>& rInDirs
,
70 const LangInfo
& rLang
);
74 virtual void Message( const String
& rText
, sal_uInt8 cExitCode
= EXIT_NOERROR
);
79 virtual ~BmpCreator();
81 void Create( const String
& rSRSName
,
82 const ::std::vector
< String
>& rInDirs
,
83 const String
& rOutName
,
84 const LangInfo
& rLang
);
87 #endif // _BMPCORE_HXX
89 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */