mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-04 00:52:54 +02:00
Setting code formatting standard to allman.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* This file is subject to the terms and conditions defined in
|
||||
* file 'LICENSE.txt', which is part of this source code package.
|
||||
*/
|
||||
*/
|
||||
#include "VideoFactory.h"
|
||||
#include "IVideo.h"
|
||||
#include "GStreamerVideo.h"
|
||||
@@ -10,24 +10,24 @@ int VideoFactory::NumLoops = 0;
|
||||
|
||||
IVideo *VideoFactory::CreateVideo()
|
||||
{
|
||||
IVideo *instance = NULL;
|
||||
IVideo *instance = NULL;
|
||||
|
||||
if(Enabled)
|
||||
{
|
||||
instance = new GStreamerVideo();
|
||||
instance->Initialize();
|
||||
((GStreamerVideo *)(instance))->SetNumLoops(NumLoops);
|
||||
}
|
||||
if(Enabled)
|
||||
{
|
||||
instance = new GStreamerVideo();
|
||||
instance->Initialize();
|
||||
((GStreamerVideo *)(instance))->SetNumLoops(NumLoops);
|
||||
}
|
||||
|
||||
return instance;
|
||||
return instance;
|
||||
}
|
||||
|
||||
void VideoFactory::SetEnabled(bool enabled)
|
||||
{
|
||||
Enabled = enabled;
|
||||
Enabled = enabled;
|
||||
}
|
||||
|
||||
void VideoFactory::SetNumLoops(int numLoops)
|
||||
{
|
||||
NumLoops = numLoops;
|
||||
NumLoops = numLoops;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user