foobar2000 SDK  2015-08-03
Data Structures | Functions | Variables
mainmenu.cpp File Reference

Go to the source code of this file.

Data Structures

class  mainmenu_commands_sample
 

Functions

void RunPlaybackStateDemo ()
 

Variables

static mainmenu_commands_factory_t< mainmenu_commands_sampleg_mainmenu_commands_sample_factory
 
static mainmenu_group_popup_factory g_mainmenu_group (g_mainmenu_group_id, mainmenu_groups::file, mainmenu_commands::sort_priority_dontcare,"Sample component")
 
static const GUID g_mainmenu_group_id = { 0x44963e7a, 0x4b2a, 0x4588, { 0xb0, 0x17, 0xa8, 0x69, 0x18, 0xcb, 0x8a, 0xa5 } }
 

Function Documentation

void RunPlaybackStateDemo ( )

Definition at line 145 of file playback_state.cpp.

145  {
146  try {
147  // ImplementModelessTracking registers our dialog to receive dialog messages thru main app loop's IsDialogMessage().
148  // CWindowAutoLifetime creates the window in the constructor (taking the parent window as a parameter) and deletes the object when the window has been destroyed (through WTL's OnFinalMessage).
150  } catch(std::exception const & e) {
151  popup_message::g_complain("Dialog creation failure", e);
152  }
153 }
std::exception exception
Definition: primitives.h:193
HWND get_main_window()
Retrieves main app window. WARNING: this is provided for parent of dialog windows and such only; usin...
static void g_complain(const char *what)

Variable Documentation

mainmenu_commands_factory_t<mainmenu_commands_sample> g_mainmenu_commands_sample_factory
static

Definition at line 59 of file mainmenu.cpp.

const GUID g_mainmenu_group_id = { 0x44963e7a, 0x4b2a, 0x4588, { 0xb0, 0x17, 0xa8, 0x69, 0x18, 0xcb, 0x8a, 0xa5 } }
static

Definition at line 3 of file mainmenu.cpp.