diff options
| author | Matthew Collins <[email protected]> | 2018-02-27 20:30:40 +0000 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2018-02-27 20:30:40 +0000 |
| commit | e99c0e0adc490b94b037838757bfa6647f3c3568 (patch) | |
| tree | 1ab022877d951a111820b5c0a1d35facac3ef6ee /src/app.rs | |
| parent | Add accessors for `SteamId`'s inner values (diff) | |
| download | steamworks-rs-e99c0e0adc490b94b037838757bfa6647f3c3568.tar.xz steamworks-rs-e99c0e0adc490b94b037838757bfa6647f3c3568.zip | |
Try and make the accessors generic over the client and server
Diffstat (limited to 'src/app.rs')
| -rw-r--r-- | src/app.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,12 +5,12 @@ use super::*; pub struct AppId(pub u32); /// Access to the steam apps interface -pub struct Apps { +pub struct Apps<Manager> { pub(crate) apps: *mut sys::ISteamApps, - pub(crate) _client: Arc<ClientInner>, + pub(crate) _inner: Arc<Inner<Manager>>, } -impl Apps { +impl <Manager> Apps<Manager> { /// Returns whether the user currently has the app with the given /// ID currently installed. |