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

IAccCommand Interface Reference


Detailed Description

The IAccCommand interface is for getting information about plugin commands.

Public Types

Public Member Functions

Properties


Member Typedef Documentation

typedef enum IAccCommand::AccCommandFlags IAccCommand::AccCommandFlags

Values for AccCommandProp_Flags. If both AccCommandFlags_BuddyUi and AccCommandFlags_GroupUi are set and the UI selection contains both buddies and groups, clients should pass only user names to QueryStatus() and Exec(). Clients should never pass a mix of both user and group names.

typedef enum IAccCommand::AccCommandProp IAccCommand::AccCommandProp

Properties for the Property method.


Member Enumeration Documentation

enum IAccCommand::AccCommandFlags

Values for AccCommandProp_Flags. If both AccCommandFlags_BuddyUi and AccCommandFlags_GroupUi are set and the UI selection contains both buddies and groups, clients should pass only user names to QueryStatus() and Exec(). Clients should never pass a mix of both user and group names.

Enumerator:
AccCommandFlags_BuddyCentric 
AccCommandFlags_ActionsUi 
AccCommandFlags_BuddyUi 
AccCommandFlags_GroupUi 
AccCommandFlags_ImSessionUi 
AccCommandFlags_PreferencesUi 
AccCommandFlags_AboutUi 
AccCommandFlags_PresenceUi 
AccCommandFlags_UninstallUi 

enum IAccCommand::AccCommandProp

Properties for the Property method.

Enumerator:
AccCommandProp_Id  The id for the command [get] xp_int*
AccCommandProp_Text  The text for the command [get] xp_str* [put] xp_kstr
AccCommandProp_SmallIconUrl  The URL for an icon to display with the command [get] xp_str* [put] xp_kstr
AccCommandProp_Flags  The flags for the Command, from AccCommandFlags [get] xp_u32* [put] xp_u32
AccCommandProp_ParentId  The parent id for the command. If not -1, this command is associated in UI with its parent command (e.g., in a submenu). [get] xp_int* [put] xp_int


Member Function Documentation

HRESULT IAccCommand::QueryStatus ( [in] xp_kvariant  names,
[out, retval] xp_vbool enabled 
)

Indicates whether this command could be executed on specified users or groups. If an error is returned, or "enabled" is false, the command would not be allowed, so it should be disabled in the user interface. If AccCommandFlags_GroupUi is set, "names" should contain group names; otherwise, it should contain user names.

HRESULT IAccCommand::Exec ( [in] xp_kvariant  names  ) 

Executes the command on the specified users or groups. If AccCommandFlags_GroupUi is set, "names" should contain group names; otherwise, it should contain user names.


Property Documentation

xp_int IAccCommand::Id [get]

Gets command id.

xp_variant IAccCommand::Property( [in] AccCommandProp property) ( [in] AccCommandProp  property  )  [get]

Gets the specified property for a command.

xp_kvariant IAccCommand::Property( [in] AccCommandProp property) ( [in] AccCommandProp  property  )  [set]

Sets the specified property for a command.


Questions? Stop by the AIM SDK Developer Forum
Created Tue Mar 4 09:11:02 2008 for AIM: Developer SDK
© 2008 AOL LLC. All Rights Reserved.