File indexing completed on 2024-05-12 08:34:13
0001 /* SPDX-FileCopyrightText: 2023 Noah Davis <noahadvs@gmail.com> 0002 * SPDX-License-Identifier: LGPL-2.0-or-later 0003 */ 0004 0005 #include "CommandLineOptions.h" 0006 0007 struct CommandLineOptionsSingleton { 0008 CommandLineOptions self; 0009 }; 0010 0011 Q_GLOBAL_STATIC(CommandLineOptionsSingleton, privateCommandLineOptionsSelf) 0012 0013 CommandLineOptions *CommandLineOptions::self() 0014 { 0015 return &privateCommandLineOptionsSelf()->self; 0016 }