mirror of
https://github.com/Team-Resurgent/XBMC4Xbox.git
synced 2026-08-15 11:18:13 -07:00
If ever adding the XBMC4Xbox source to GitHub use "git add -f -A" or it wont add all the files.
34 lines
560 B
C++
34 lines
560 B
C++
|
|
#include "LCDFactory.h"
|
|
#include "lib/smartxx/smartxxLCD.h"
|
|
#include "lib/libXenium/XeniumLCD.h"
|
|
#include "lib/x3lcd/x3lcd.h"
|
|
#include "settings/GUISettings.h"
|
|
|
|
ILCD* g_lcd = NULL;
|
|
CLCDFactory::CLCDFactory(void)
|
|
{}
|
|
|
|
CLCDFactory::~CLCDFactory(void)
|
|
{}
|
|
|
|
ILCD* CLCDFactory::Create()
|
|
{
|
|
switch (g_guiSettings.GetInt("lcd.modchip"))
|
|
{
|
|
case MODCHIP_XENIUM:
|
|
return new CXeniumLCD();
|
|
break;
|
|
|
|
case MODCHIP_SMARTXX:
|
|
return new CSmartXXLCD();
|
|
break;
|
|
|
|
case MODCHIP_XECUTER3:
|
|
return new CX3LCD();
|
|
break;
|
|
|
|
}
|
|
return new CSmartXXLCD();
|
|
}
|