aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
authorMatthew Collins <[email protected]>2018-02-27 20:30:40 +0000
committerMatthew Collins <[email protected]>2018-02-27 20:30:40 +0000
commite99c0e0adc490b94b037838757bfa6647f3c3568 (patch)
tree1ab022877d951a111820b5c0a1d35facac3ef6ee /src/app.rs
parentAdd accessors for `SteamId`'s inner values (diff)
downloadsteamworks-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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app.rs b/src/app.rs
index 1a20caa..d6e787f 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -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.