-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHEICMain.cpp
More file actions
33 lines (27 loc) · 737 Bytes
/
HEICMain.cpp
File metadata and controls
33 lines (27 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* HEICMain.cpp – HEIC image translator for Haiku
* Version 0.2.0 (April 2025)
*
* Copyright (c) 2025 Johan Wagenheim <johan@dospuntos.no>
*
* Based in part on code shared by Zenja at:
* https://dev.haiku-os.org/ticket/14909#comment:5
*
* Distributed under the terms of the MIT License.
* See the accompanying LICENSE file for details.
*/
#include <Application.h>
#include <Catalog.h>
#include "shared/TranslatorWindow.h"
#include "HEICTranslator.h"
#undef B_TRANSLATION_CONTEXT
#define B_TRANSLATION_CONTEXT "main"
int main()
{
BApplication app("application/x-vnd.Haiku-HEICTranslator");
if (LaunchTranslatorWindow(new HEICTranslator,
B_TRANSLATE("HEIC Settings")) != B_OK)
return 1;
app.Run();
return 0;
}