2010-11-14 16:19:42 +01:00
|
|
|
#include "HomebrewBrowser.hpp"
|
2010-11-06 16:30:14 +01:00
|
|
|
|
2009-10-01 01:10:58 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* MenuHomebrewBrowse
|
|
|
|
***************************************************************************/
|
2010-09-19 01:16:05 +02:00
|
|
|
int MenuHomebrewBrowse()
|
|
|
|
{
|
2010-11-14 16:19:42 +01:00
|
|
|
HomebrewBrowser * Menu = new HomebrewBrowser();
|
|
|
|
mainWindow->Append(Menu);
|
2009-10-01 01:10:58 +02:00
|
|
|
|
2010-11-14 16:19:42 +01:00
|
|
|
Menu->ShowMenu();
|
2009-10-01 01:10:58 +02:00
|
|
|
|
2010-11-14 16:19:42 +01:00
|
|
|
int returnMenu = MENU_NONE;
|
2009-10-01 01:10:58 +02:00
|
|
|
|
2010-11-14 16:19:42 +01:00
|
|
|
while((returnMenu = Menu->MainLoop()) == MENU_NONE);
|
2009-10-01 01:10:58 +02:00
|
|
|
|
2010-11-14 16:19:42 +01:00
|
|
|
delete Menu;
|
2009-10-01 01:10:58 +02:00
|
|
|
|
2010-11-14 16:19:42 +01:00
|
|
|
return returnMenu;
|
2009-10-01 01:10:58 +02:00
|
|
|
}
|