We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9a65bb + afb2f80 commit 3557404Copy full SHA for 3557404
cocoa/src/appkit.rs
@@ -478,7 +478,12 @@ pub trait NSRunningApplication: Sized {
478
unsafe fn currentApplication(_: Self) -> id {
479
msg_send![class!(NSRunningApplication), currentApplication]
480
}
481
+
482
unsafe fn activateWithOptions_(self, options: NSApplicationActivationOptions) -> BOOL;
483
484
+ unsafe fn runningApplicationWithProcessIdentifier(_: Self, pid: libc::pid_t) -> id {
485
+ msg_send![class!(NSRunningApplication), runningApplicationWithProcessIdentifier:pid]
486
+ }
487
488
489
impl NSRunningApplication for id {
0 commit comments