contextfree / winrt-rust

Use and (eventually) make Windows Runtime APIs with Rust
Apache License 2.0
142 stars 10 forks source link

Rework instance activation #29

Closed Boddlnagg closed 7 years ago

Boddlnagg commented 7 years ago

This adds previously missing activation factories, e.g. the (parameterless) ones for default constructors implementing IActivationFactory. Furthermore, all factory and static methods are now wrapped directly in impl blocks of the corresponding classes, to allow calls such as Uri::create_uri.