foobar2000 SDK  2015-08-03
Public Member Functions | Protected Member Functions | Private Attributes
CMenuDescriptionMap

#include <misc.h>

+ Inheritance diagram for CMenuDescriptionMap:

Public Member Functions

 CMenuDescriptionMap (HWND p_parent)
 
void Set (unsigned p_id, const char *p_description)
 
- Public Member Functions inherited from CMenuSelectionReceiver
 CMenuSelectionReceiver (HWND p_parent)
 
 ~CMenuSelectionReceiver ()
 
 BEGIN_MSG_MAP (CMenuSelectionReceiver) MESSAGE_HANDLER(WM_MENUSELECT
 
 DECLARE_WND_CLASS_EX (TEXT("{DF0087DB-E765-4283-BBAB-6AB2E8AB64A1}"), 0, 0)
 
OnMenuSelect END_MSG_MAP () protected
 

Protected Member Functions

bool QueryHint (unsigned p_id, pfc::string_base &p_out)
 

Private Attributes

pfc::map_t< unsigned, pfc::string8m_content
 

Additional Inherited Members

- Public Types inherited from CMenuSelectionReceiver
typedef CWindowImpl< CMenuSelectionReceiver_baseClass
 

Detailed Description

Definition at line 48 of file misc.h.

Constructor & Destructor Documentation

CMenuDescriptionMap::CMenuDescriptionMap ( HWND  p_parent)
inline

Definition at line 50 of file misc.h.

50 : CMenuSelectionReceiver(p_parent) {}
CMenuSelectionReceiver(HWND p_parent)
Definition: misc.h:3

Member Function Documentation

bool CMenuDescriptionMap::QueryHint ( unsigned  p_id,
pfc::string_base p_out 
)
inlineprotected

Definition at line 53 of file misc.h.

53  {
54  return m_content.query(p_id,p_out);
55  }
pfc::map_t< unsigned, pfc::string8 > m_content
Definition: misc.h:57
bool query(const _t_key &p_key, _t_value &p_value) const
Definition: map.h:44
void CMenuDescriptionMap::Set ( unsigned  p_id,
const char *  p_description 
)
inline

Definition at line 51 of file misc.h.

51 {m_content.set(p_id,p_description);}
pfc::map_t< unsigned, pfc::string8 > m_content
Definition: misc.h:57
void set(const _t_key &p_key, const _t_value &p_value)
Definition: map.h:22

Field Documentation

pfc::map_t<unsigned,pfc::string8> CMenuDescriptionMap::m_content
private

Definition at line 57 of file misc.h.


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