-
首页
-
C4D R23.110 C++ SDK
Application Class Reference
系统
#include <application.h>
详细描述
应用程序
wide functions. Implement this interface to be able to link against the kernel library.
成员函数文档编制
◆
MAXON_INTERFACE_NONVIRTUAL()
◆
GetUrl()
Returns the requested url.
-
参数
-
-
返回
-
Url
containing the requested.
◆
GetTempUrl()
Returns a new unique url for a temporary file. A typical use for this is
Url
tempfile = Application::GetTempUrl(tempDirectory);
-
参数
-
[in]
|
directory
|
Directory url where the temporary file should be created in.
|
-
返回
-
Url
pointing to the temporary file.
◆
GetModulePaths()
Returns all module paths configured through g_modulePath, g_additionalModulePath and user preferences.
-
返回
-
Array
containing all paths that are searched for modules.
◆
GetCommandLineArgCount()
Returns the number of command line arguments delivered to the app on startup.
-
返回
-
Number of arguments to request via
GetCommandLineArg()
.
◆
GetCommandLineArg()
Returns a command line argument.
-
参数
-
-
返回
-
The requested argument.
◆
GetMachineInfo()
Returns information about the system and processor. See
maxon::MACHINEINFO
for DataDictionary properties.
◆
GetApplicationMode()
Retrieves the current application mode. This mode defines the behavior after the startup is done.
-
返回
-
The current application mode.
◆
SetApplicationMode()
Sets a new application mode. This mode defines the behavior after the startup is done. Please note that it's only possible to raise the mode from
APPLICATIONMODE::DONTWAIT
to
APPLICATIONMODE::KEEPRUNNING
.
-
参数
-
[in]
|
mode
|
The new mode to be set.
|
-
返回
-
True if the function changed the mode successfully.
◆
GetFeature()
◆
SetFeature()
◆
GetVersion()
Gets the version number and build ID.
-
参数
-
[out]
|
version
|
The version number will be assigned to this value.
|
[out]
|
buildID
|
Variable that will hold the buildID.
|
◆
GetUrlI()