-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
43 additions
and
27 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
mod factory_cache; | ||
pub use factory_cache::*; | ||
|
||
mod generic_factory; | ||
pub use generic_factory::*; | ||
|
||
mod waiter; | ||
pub use waiter::*; | ||
|
||
mod bindings; | ||
pub use bindings::*; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
mod agile_reference; | ||
pub use agile_reference::*; | ||
|
||
mod array; | ||
pub use array::*; | ||
|
||
#[cfg(feature = "std")] | ||
mod event; | ||
#[cfg(feature = "std")] | ||
pub use event::*; | ||
|
||
mod handles; | ||
pub use handles::*; | ||
|
||
mod variant; | ||
pub use variant::*; | ||
|
||
/// Attempts to load the factory object for the given WinRT class. | ||
/// This can be used to access COM interfaces implemented on a Windows Runtime class factory. | ||
pub fn factory<C: RuntimeName, I: Interface>() -> Result<I> { | ||
imp::factory::<C, I>() | ||
} |
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
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