|
GameApi 28
Library used by GameApi Builder tool
|
#include <openvr_mingw.h>
Public Member Functions | |
| EVRApplicationError | AddApplicationManifest (const char *pchApplicationManifestFullPath, bool bTemporary=false) |
| EVRApplicationError | RemoveApplicationManifest (const char *pchApplicationManifestFullPath) |
| bool | IsApplicationInstalled (const char *pchAppKey) |
| uint32_t | GetApplicationCount () |
| EVRApplicationError | GetApplicationKeyByIndex (uint32_t unApplicationIndex, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) |
| EVRApplicationError | GetApplicationKeyByProcessId (uint32_t unProcessId, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) |
| EVRApplicationError | LaunchApplication (const char *pchAppKey) |
| EVRApplicationError | LaunchTemplateApplication (const char *pchTemplateAppKey, const char *pchNewAppKey, VR_ARRAY_COUNT(unKeys) const AppOverrideKeys_t *pKeys, uint32_t unKeys) |
| vr::EVRApplicationError | LaunchApplicationFromMimeType (const char *pchMimeType, const char *pchArgs) |
| EVRApplicationError | LaunchDashboardOverlay (const char *pchAppKey) |
| bool | CancelApplicationLaunch (const char *pchAppKey) |
| EVRApplicationError | IdentifyApplication (uint32_t unProcessId, const char *pchAppKey) |
| uint32_t | GetApplicationProcessId (const char *pchAppKey) |
| const char * | GetApplicationsErrorNameFromEnum (EVRApplicationError error) |
| uint32_t | GetApplicationPropertyString (const char *pchAppKey, EVRApplicationProperty eProperty, VR_OUT_STRING() char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError=nullptr) |
| bool | GetApplicationPropertyBool (const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError=nullptr) |
| uint64_t | GetApplicationPropertyUint64 (const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError=nullptr) |
| EVRApplicationError | SetApplicationAutoLaunch (const char *pchAppKey, bool bAutoLaunch) |
| bool | GetApplicationAutoLaunch (const char *pchAppKey) |
| EVRApplicationError | SetDefaultApplicationForMimeType (const char *pchAppKey, const char *pchMimeType) |
| bool | GetDefaultApplicationForMimeType (const char *pchMimeType, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) |
| bool | GetApplicationSupportedMimeTypes (const char *pchAppKey, VR_OUT_STRING() char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) |
| uint32_t | GetApplicationsThatSupportMimeType (const char *pchMimeType, VR_OUT_STRING() char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) |
| uint32_t | GetApplicationLaunchArguments (uint32_t unHandle, VR_OUT_STRING() char *pchArgs, uint32_t unArgs) |
| EVRApplicationError | GetStartingApplication (VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) |
| EVRApplicationTransitionState | GetTransitionState () |
| EVRApplicationError | PerformApplicationPrelaunchCheck (const char *pchAppKey) |
| const char * | GetApplicationsTransitionStateNameFromEnum (EVRApplicationTransitionState state) |
| bool | IsQuitUserPromptRequested () |
| EVRApplicationError | LaunchInternalProcess (const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) |
| uint32_t | GetCurrentSceneProcessId () |
|
inline |
Adds an application manifest to the list to load when building the list of installed applications. Temporary manifests are not automatically loaded
|
inline |
Cancel a pending launch for an application
|
inline |
Gets the application auto-launch flag. This is only valid for applications which return true for VRApplicationProperty_IsDashboardOverlay_Bool.
|
inline |
Returns the number of applications available in the list
|
inline |
Returns the key of the specified application. The index is at least 0 and is less than the return value of GetApplicationCount(). The buffer should be at least k_unMaxApplicationKeyLength in order to fit the key.
|
inline |
Returns the key of the application for the specified Process Id. The buffer should be at least k_unMaxApplicationKeyLength in order to fit the key.
|
inline |
Get the args list from an app launch that had the process already running, you call this when you get a VREvent_ApplicationMimeTypeLoad
|
inline |
Returns the process ID for an application. Return 0 if the application was not found or is not running.
|
inline |
Returns a bool value for an application property. Returns false in all error cases.
|
inline |
Returns a value for an application property. The required buffer size to fit this value will be returned.
|
inline |
Returns a uint64 value for an application property. Returns 0 in all error cases.
|
inline |
Returns a string for an applications error
|
inline |
Get the list of app-keys that support this mime type, comma-delimited, the return value is number of bytes you need to return the full string
|
inline |
Returns a string for an application transition state
|
inline |
Get the list of supported mime types for this application, comma-delimited
|
inline |
|
inline |
return the app key that will open this mime type
|
inline |
Returns the app key for the application that is starting up
|
inline |
Returns the application transition state
|
inline |
Identifies a running application. OpenVR can't always tell which process started in response to a URL. This function allows a URL handler (or the process itself) to identify the app key for the now running application. Passing a process ID of 0 identifies the calling process. The application must be one that's known to the system via a call to AddApplicationManifest.
|
inline |
Returns true if an application is installed
|
inline |
Returns true if the outgoing scene app has requested a save prompt before exiting
|
inline |
Launches the application. The existing scene application will exit and then the new application will start. This call is not valid for dashboard overlay applications.
|
inline |
launches the application currently associated with this mime type and passes it the option args, typically the filename or object name of the item being launched
|
inline |
Launches the dashboard overlay application if it is not already running. This call is only valid for dashboard overlay applications.
|
inline |
Starts a subprocess within the calling application. This suppresses all application transition UI and automatically identifies the new executable as part of the same application. On success the calling process should exit immediately. If working directory is NULL or "" the directory portion of the binary path will be the working directory.
|
inline |
Launches an instance of an application of type template, with its app key being pchNewAppKey (which must be unique) and optionally override sections from the manifest file via AppOverrideKeys_t
|
inline |
Returns errors that would prevent the specified application from launching immediately. Calling this function will cause the current scene application to quit, so only call it when you are actually about to launch something else. What the caller should do about these failures depends on the failure: VRApplicationError_OldApplicationQuitting - An existing application has been told to quit. Wait for a VREvent_ProcessQuit and try again. VRApplicationError_ApplicationAlreadyStarting - This application is already starting. This is a permanent failure. VRApplicationError_LaunchInProgress - A different application is already starting. This is a permanent failure. VRApplicationError_None - Go ahead and launch. Everything is clear.
|
inline |
Removes an application manifest from the list to load when building the list of installed applications.
|
inline |
Sets the application auto-launch flag. This is only valid for applications which return true for VRApplicationProperty_IsDashboardOverlay_Bool.
|
inline |
Adds this mime-type to the list of supported mime types for this application