transmission/macosx/main.mm

19 lines
444 B
Plaintext
Raw Normal View History

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