OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_Process.h>
Public Types | |
enum | ProcessPriority { LowPriority = 0 , NormalPriority = 1 , HighPriority = 2 , RealtimePriority = 3 } |
Static Public Member Functions | |
static void JUCE_CALLTYPE | setPriority (const ProcessPriority priority) |
static void JUCE_CALLTYPE | terminate () |
static bool JUCE_CALLTYPE | isForegroundProcess () |
static void JUCE_CALLTYPE | makeForegroundProcess () |
static void JUCE_CALLTYPE | hide () |
static void JUCE_CALLTYPE | raisePrivilege () |
static void JUCE_CALLTYPE | lowerPrivilege () |
static bool JUCE_CALLTYPE | isRunningUnderDebugger () noexcept |
static bool JUCE_CALLTYPE | openDocument (const String &documentURL, const String ¶meters) |
static bool JUCE_CALLTYPE | openEmailWithAttachments (const String &targetEmailAddress, const String &emailSubject, const String &bodyText, const StringArray &filesToAttach) |
Represents the current executable's process.
This contains methods for controlling the current application at the process-level.
Definition at line 36 of file juce_Process.h.
enum juce::Process::ProcessPriority |
Definition at line 40 of file juce_Process.h.
Hides the application (on an OS that supports this, e.g. OSX, iOS, Android)
Returns true if this application process is the one that the user is currently using.
|
staticnoexcept |
Returns true if this process is being hosted by a debugger.
Definition at line 348 of file juce_Thread.cpp.
Lowers the current process's privilege level.
Does nothing if this isn't supported by the current OS, or if process privilege level is fixed.
Attempts to make the current process the active one. (This is not possible on some platforms).
|
static |
Tries to launch the OS's default reader application for a given file or URL.
Referenced by juce::URL::launchInDefaultBrowser(), and juce::File::startAsProcess().
|
static |
Tries to launch the OS's default email application to let the user create a message.
Raises the current process's privilege level.
Does nothing if this isn't supported by the current OS, or if process privilege level is fixed.
Changes the current process's priority.
priority | the process priority, where 0=low, 1=normal, 2=high, 3=realtime |
Kills the current process immediately.
This is an emergency process terminator that kills the application immediately - it's intended only for use only when something goes horribly wrong.