#include <application.h>
Application wide functions. Implement this interface to be able to link against the kernel library.
Static Public Member Functions | |
| static MAXON_FUNCTION Result< Url > | GetUrl (APPLICATION_URLTYPE urlType) | 
| static MAXON_METHOD Result< Url > | GetTempUrl (const Url &directory) | 
| static MAXON_METHOD Result< BaseArray< Url > > | GetModulePaths () | 
| static MAXON_METHOD Int | GetCommandLineArgCount () | 
| static MAXON_METHOD String | GetCommandLineArg (Int idx) | 
| static MAXON_METHOD DataDictionary | GetMachineInfo () | 
| static MAXON_METHOD APPLICATIONMODE | GetApplicationMode () | 
| static MAXON_METHOD Bool | SetApplicationMode (APPLICATIONMODE mode) | 
| static MAXON_METHOD Bool | GetFeature (APPLICATIONFEATURE feature) | 
| static MAXON_METHOD void | SetFeature (APPLICATIONFEATURE feature, Bool value) | 
| static MAXON_METHOD Result< void > | GetVersion (Int &version, String &buildID) | 
Static Protected Member Functions | |
| static MAXON_METHOD Result< Url > | GetUrlI (APPLICATION_URLTYPE urlType) | 
Private Member Functions | |
| MAXON_INTERFACE_NONVIRTUAL (Application, MAXON_REFERENCE_NONE, "net.maxon.interface.application") | |
      
  | 
  private | 
      
  | 
  static | 
Returns the requested url.
| [in] | urlType | Type of the url, see APPLICATION_URLTYPE. | 
      
  | 
  static | 
      
  | 
  static | 
Returns all module paths configured through g_modulePath, g_additionalModulePath and user preferences.
      
  | 
  static | 
Returns the number of command line arguments delivered to the app on startup.
      
  | 
  static | 
Returns a command line argument.
| [in] | idx | The index of the argument. (0 >= idx < GetCommandLineArgCount()). | 
      
  | 
  static | 
Returns information about the system and processor. See maxon::MACHINEINFO for DataDictionary properties.
      
  | 
  static | 
Retrieves the current application mode. This mode defines the behavior after the startup is done.
      
  | 
  static | 
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. | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
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. | 
      
  | 
  staticprotected |