ALib C++ Framework
by
Library Version: 2605 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
mainargs.hpp
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header-file is part of the \aliblong.
4///
5/// Copyright 2013-2026 A-Worx GmbH, Germany.
6/// Published under #"mainpage_license".
7//==================================================================================================
8ALIB_EXPORT namespace alib {
9
10 /// The number of command-line arguments. Defaults to \c 0.
11 /// \note An application is responsible for setting this global variable in its <c>main()</c>
12 /// function, in case the value is needed somewhere.
13 ALIB_DLL extern int ARG_C;
14
15 /// List of command-line arguments if given as single byte character strings.
16 /// \note An application is responsible for setting this global variable in its <c>main()</c>
17 /// function, in case the value is needed somewhere.
18 ALIB_DLL extern const char** ARG_VN;
19
20 /// List of command-line arguments if given as multi-byte character strings.
21 /// \note An application is responsible for setting this global variable in its <c>main()</c>
22 /// function, in case the value is needed somewhere.
23 ALIB_DLL extern const wchar_t** ARG_VW;
24
25} // namespace [alib]
#define ALIB_DLL
#define ALIB_EXPORT
Definition alox.cpp:14
const wchar_t ** ARG_VW
Definition mainargs.cpp:4
int ARG_C
Definition mainargs.cpp:2
const char ** ARG_VN
Definition mainargs.cpp:3