mirror of
https://github.com/transmission/transmission.git
synced 2026-02-14 23:19:34 +00:00
* build: bump to C++20 Co-authored-by: Cœur <coeur@gmx.fr> * refactor: use designated initializers * refactor: remove redundant SFINAE * fix: clang-tidy warnings * chore: comments about min compiler versions for C++20 features * build: clang objc++ modules build errors Co-authored-by: Dzmitry Neviadomski <nevack.d@gmail.com> * refactor: add `TR_CONSTEXPR_VEC` and `TR_CONSTEXPR_STR` * fix: don't use `std::rel_ops` * chore: housekeeping * fix: possible fix for macOS linker error --------- Co-authored-by: Cœur <coeur@gmx.fr> Co-authored-by: Dzmitry Neviadomski <nevack.d@gmail.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
23 lines
478 B
Plaintext
23 lines
478 B
Plaintext
// 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.
|
|
|
|
#if __has_feature(modules)
|
|
@import AppKit;
|
|
#else
|
|
#import <AppKit/AppKit.h>
|
|
#endif
|
|
|
|
#include <libtransmission/transmission.h>
|
|
|
|
#include <libtransmission/utils.h>
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
tr_lib_init();
|
|
|
|
tr_locale_set_global("");
|
|
|
|
return NSApplicationMain(argc, (char const**)argv);
|
|
}
|