1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00
transmission/macosx/main.mm

18 lines
434 B
Text

// This file Copyright © Transmission authors and contributors.
// It may be used under the MIT (SPDX: MIT) license.
// License text can be found in the licenses/ folder.
@import AppKit;
#include <libtransmission/transmission.h>
#include <libtransmission/utils.h>
int main(int argc, char** argv)
{
auto const init_mgr = tr_lib_init();
tr_locale_set_global("");
return NSApplicationMain(argc, (char const**)argv);
}