-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ScreenSaver framework / objc2-screen-saver crate
Fixes #665.
- Loading branch information
Showing
10 changed files
with
120 additions
and
7 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//! # Bindings to the `ScreenSaver` framework | ||
//! | ||
//! See [Apple's docs][apple-doc] and [the general docs on framework crates][framework-crates] for more information. | ||
//! | ||
//! [apple-doc]: https://developer.apple.com/documentation/screensaver/ | ||
//! [framework-crates]: https://docs.rs/objc2/latest/objc2/topics/about_generated/index.html | ||
#![no_std] | ||
#![cfg_attr(docsrs, feature(doc_auto_cfg))] | ||
// Update in Cargo.toml as well. | ||
#![doc(html_root_url = "https://docs.rs/objc2-screen-saver/0.2.2")] | ||
|
||
#[cfg(feature = "alloc")] | ||
extern crate alloc; | ||
|
||
#[cfg(feature = "std")] | ||
extern crate std; | ||
|
||
mod generated; | ||
#[allow(unused_imports, unreachable_pub)] | ||
pub use self::generated::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
framework = "ScreenSaver" | ||
crate = "objc2-screen-saver" | ||
required-dependencies = ["objc2-foundation"] | ||
macos = "10.0" |
Submodule generated
updated
3 files
+56 −0 | ScreenSaver/ScreenSaverDefaults.rs | |
+133 −0 | ScreenSaver/ScreenSaverView.rs | |
+29 −0 | ScreenSaver/mod.rs |