keyboard_shortcut_manager Class Reference

#include <contextmenu_manager.h>

Inheritance diagram for keyboard_shortcut_manager:

service_base keyboard_shortcut_manager_v2

List of all members.

Public Types

enum  shortcut_type { TYPE_MAIN, TYPE_CONTEXT, TYPE_CONTEXT_PLAYLIST, TYPE_CONTEXT_NOW_PLAYING }
typedef keyboard_shortcut_manager t_interface_entrypoint
typedef keyboard_shortcut_manager t_interface
typedef service_base t_interface_parent

Public Member Functions

virtual bool process_keydown (shortcut_type type, const pfc::list_base_const_t< metadb_handle_ptr > &data, unsigned keycode)=0
virtual bool process_keydown_ex (shortcut_type type, const pfc::list_base_const_t< metadb_handle_ptr > &data, unsigned keycode, const GUID &caller)=0
bool on_keydown (shortcut_type type, WPARAM wp)
bool on_keydown_context (const pfc::list_base_const_t< metadb_handle_ptr > &data, WPARAM wp, const GUID &caller)
bool on_keydown_auto (WPARAM wp)
bool on_keydown_auto_playlist (WPARAM wp)
bool on_keydown_auto_context (const pfc::list_base_const_t< metadb_handle_ptr > &data, WPARAM wp, const GUID &caller)
bool on_keydown_restricted_auto (WPARAM wp)
bool on_keydown_restricted_auto_playlist (WPARAM wp)
bool on_keydown_restricted_auto_context (const pfc::list_base_const_t< metadb_handle_ptr > &data, WPARAM wp, const GUID &caller)
virtual bool get_key_description_for_action (const GUID &p_command, const GUID &p_subcommand, pfc::string_base &out, shortcut_type type, bool is_global)=0

Static Public Member Functions

static bool g_get (service_ptr_t< keyboard_shortcut_manager > &p_out)
static bool is_text_key (t_uint32 vkCode)
static bool is_typing_key (t_uint32 vkCode)
static bool is_typing_key_combo (t_uint32 vkCode, t_uint32 modifiers)
static bool is_typing_modifier (t_uint32 flags)
static bool is_typing_message (HWND editbox, const MSG *msg)
static bool is_typing_message (const MSG *msg)

Static Public Attributes

static const GUID class_guid


Member Typedef Documentation

Reimplemented from service_base.

Reimplemented in keyboard_shortcut_manager_v2.

Reimplemented in keyboard_shortcut_manager_v2.


Member Enumeration Documentation

Enumerator:
TYPE_MAIN 
TYPE_CONTEXT 
TYPE_CONTEXT_PLAYLIST 
TYPE_CONTEXT_NOW_PLAYING 


Member Function Documentation

static bool keyboard_shortcut_manager::g_get ( service_ptr_t< keyboard_shortcut_manager > &  p_out  )  [inline, static]

virtual bool keyboard_shortcut_manager::process_keydown ( shortcut_type  type,
const pfc::list_base_const_t< metadb_handle_ptr > &  data,
unsigned  keycode 
) [pure virtual]

virtual bool keyboard_shortcut_manager::process_keydown_ex ( shortcut_type  type,
const pfc::list_base_const_t< metadb_handle_ptr > &  data,
unsigned  keycode,
const GUID &  caller 
) [pure virtual]

bool keyboard_shortcut_manager::on_keydown ( shortcut_type  type,
WPARAM  wp 
)

bool keyboard_shortcut_manager::on_keydown_context ( const pfc::list_base_const_t< metadb_handle_ptr > &  data,
WPARAM  wp,
const GUID &  caller 
)

bool keyboard_shortcut_manager::on_keydown_auto ( WPARAM  wp  ) 

bool keyboard_shortcut_manager::on_keydown_auto_playlist ( WPARAM  wp  ) 

bool keyboard_shortcut_manager::on_keydown_auto_context ( const pfc::list_base_const_t< metadb_handle_ptr > &  data,
WPARAM  wp,
const GUID &  caller 
)

bool keyboard_shortcut_manager::on_keydown_restricted_auto ( WPARAM  wp  ) 

bool keyboard_shortcut_manager::on_keydown_restricted_auto_playlist ( WPARAM  wp  ) 

bool keyboard_shortcut_manager::on_keydown_restricted_auto_context ( const pfc::list_base_const_t< metadb_handle_ptr > &  data,
WPARAM  wp,
const GUID &  caller 
)

virtual bool keyboard_shortcut_manager::get_key_description_for_action ( const GUID &  p_command,
const GUID &  p_subcommand,
pfc::string_base out,
shortcut_type  type,
bool  is_global 
) [pure virtual]

static bool keyboard_shortcut_manager::is_text_key ( t_uint32  vkCode  )  [static]

static bool keyboard_shortcut_manager::is_typing_key ( t_uint32  vkCode  )  [static]

static bool keyboard_shortcut_manager::is_typing_key_combo ( t_uint32  vkCode,
t_uint32  modifiers 
) [static]

static bool keyboard_shortcut_manager::is_typing_modifier ( t_uint32  flags  )  [static]

static bool keyboard_shortcut_manager::is_typing_message ( HWND  editbox,
const MSG *  msg 
) [static]

static bool keyboard_shortcut_manager::is_typing_message ( const MSG *  msg  )  [static]


Member Data Documentation

Initial value:

 
{ 0x95de5842, 0x30f5, 0x4f72, { 0xb4, 0xc, 0x19, 0x16, 0x63, 0x78, 0x2f, 0x80 } }

Reimplemented in keyboard_shortcut_manager_v2.


The documentation for this class was generated from the following files:

Generated on Thu Aug 28 21:15:51 2008 for foobar2000 SDK by  doxygen 1.5.5