Rise
The Vieneo Province
Loading...
Searching...
No Matches
isteamparentalsettings.h
Go to the documentation of this file.
1//====== Copyright � 2013-, Valve Corporation, All rights reserved. =======
2//
3// Purpose: Interface to Steam parental settings (Family View)
4//
5//=============================================================================
6
7#ifndef ISTEAMPARENTALSETTINGS_H
8#define ISTEAMPARENTALSETTINGS_H
9#ifdef _WIN32
10#pragma once
11#endif
12
13#include "steam_api_common.h"
14
15// Feature types for parental settings
16// These end up in a 32-bit bitfield so we're
17// limited on how many we can have.
39
41{
42public:
43 virtual bool BIsParentalLockEnabled() = 0;
44 virtual bool BIsParentalLockLocked() = 0;
45
46 virtual bool BIsAppBlocked( AppId_t nAppID ) = 0;
47 virtual bool BIsAppInBlockList( AppId_t nAppID ) = 0;
48
49 virtual bool BIsFeatureBlocked( EParentalFeature eFeature ) = 0;
50 virtual bool BIsFeatureInBlockList( EParentalFeature eFeature ) = 0;
51};
52
53#define STEAMPARENTALSETTINGS_INTERFACE_VERSION "STEAMPARENTALSETTINGS_INTERFACE_VERSION001"
54
55// Global interface accessor
58
59//-----------------------------------------------------------------------------
60// Purpose: Callback for querying UGC
61//-----------------------------------------------------------------------------
66
67
68#endif // ISTEAMPARENTALSETTINGS_H
virtual bool BIsAppInBlockList(AppId_t nAppID)=0
virtual bool BIsParentalLockLocked()=0
virtual bool BIsFeatureBlocked(EParentalFeature eFeature)=0
virtual bool BIsAppBlocked(AppId_t nAppID)=0
virtual bool BIsParentalLockEnabled()=0
virtual bool BIsFeatureInBlockList(EParentalFeature eFeature)=0
@ k_EFeatureBlockAlways
@ k_EFeatureLibrary
@ k_EFeatureSettings
@ k_EFeatureKioskMode_Deprecated
@ k_EFeatureConsole
@ k_EFeatureProfile
@ k_EFeatureCommunity
@ k_EFeatureStore
@ k_EFeatureFriends
@ k_EFeatureBrowser
@ k_EFeatureTrading
@ k_EFeatureInvalid
@ k_EFeatureParentalSetup
@ k_EFeatureDesktop
@ k_EFeatureSiteLicense
ISteamParentalSettings * SteamParentalSettings()
#define STEAMPARENTALSETTINGS_INTERFACE_VERSION
#define STEAM_DEFINE_USER_INTERFACE_ACCESSOR(type, name, version)
@ k_ISteamParentalSettingsCallbacks
uint32 AppId_t
Definition steamtypes.h:81