Main Page | Class Hierarchy | Class Members | Global Enums and Constants | Global Entry Points | Related Pages

IAccPreferences Interface Reference


Detailed Description

The IAccPreferences interface is for getting/setting server-based or local preferences.

Public Types

Public Member Functions


Member Typedef Documentation

perhaps definitions of constants should go into another idl file

Values for permissions preferences, e.g. aimcc.av.audio.permissions.buddies

Values for the privacy mode preference, aimcc.privacy.mode.

Values for the proxy type preference, aimcc.connect.proxy.protocol.

Values for the registration status preference, aimcc.privacy.registrationStatus.

Values for the web presence privacy mode preference, aimcc.privacy.webPresenceMode.


Member Enumeration Documentation

perhaps definitions of constants should go into another idl file

Values for permissions preferences, e.g. aimcc.av.audio.permissions.buddies

Enumerator:
AccPermissions_Ask 
AccPermissions_RejectAll 
AccPermissions_AcceptAll 

Values for the privacy mode preference, aimcc.privacy.mode.

Enumerator:
AccPrivacyMode_DenyNone 
AccPrivacyMode_PermitNone 
AccPrivacyMode_Permit 
AccPrivacyMode_Deny 
AccPrivacyMode_PermitBuddies 

Values for the proxy type preference, aimcc.connect.proxy.protocol.

Enumerator:
AccProxyProtocol_None 
AccProxyProtocol_Socks4 
AccProxyProtocol_Socks5 
AccProxyProtocol_Http 
AccProxyProtocol_Https 

Values for the registration status preference, aimcc.privacy.registrationStatus.

Enumerator:
AccRegistrationStatus_NoDisclosure 
AccRegistrationStatus_LimitedDisclosure 
AccRegistrationStatus_FullDisclosure 

Values for the web presence privacy mode preference, aimcc.privacy.webPresenceMode.

Enumerator:
AccWebPresencePrivacyMode_UsePrivacyMode 
AccWebPresencePrivacyMode_DenyNone 
AccWebPresencePrivacyMode_PermitNone 


Member Function Documentation

HRESULT IAccPreferences::GetValue ( [in] xp_kstr  specifier,
[out, retval] xp_variant value 
)

Gets the specified preference.

HRESULT IAccPreferences::RequestValue ( [in] xp_kstr  specifier,
[out, retval] AccTransId pTransId 
)

Requests the specified preference. The result arrives via DAccEvents::OnPreferenceResult.

HRESULT IAccPreferences::GetDefaultValue ( [in] xp_kstr  specifier,
[out, retval] xp_variant value 
)

Gets a default for the specified preference. GetValue() calls this. You generally will only call this directly when resetting a preference to its default value.

HRESULT IAccPreferences::SetValue ( [in] xp_kstr  specifier,
[in] xp_kvariant  value 
)

Sets the specified preference.

HRESULT IAccPreferences::Reset ( [in] xp_kstr  specifier  ) 

Reset the specified preference. Append "." to the specifier to make it recursive.

HRESULT IAccPreferences::GetChildSpecifiers ( [in] xp_kstr  specifier,
[out, retval] xp_variant value 
)

Returns all immediate child preference specifiers.


Questions? Stop by the AIM SDK Developer Forum
Created Mon Nov 10 09:21:16 2008 for AIM: Developer SDK
© 2008 AOL LLC. All Rights Reserved.