Skip to content
Snippets Groups Projects
Select Git revision
  • 1362d4074a68f0edd1390dcd232f6a88f8ae1193
  • master default
  • mingw_gcc44
  • release_ABP1_012
  • release_ABP1_008
  • release_ABP1_006
  • release_ABP1_007
  • release_ABP1_005
  • release_ABP1_004
  • release_ABP1_003
  • pre_release_0.15
  • release_ABP1_001
  • release_ABP1_002
  • pre_release_0.13
  • pre_release_0.14
  • pre_release_0.11
  • pre_release_0.12
  • pre_release_0.10
  • pre_release_0.09
  • pre_release_0.08
20 results

SDL_sysevents.c.patch

Blame
  • Forked from einsteinathome / graphicsframework
    Source project has a limited visibility.
    • Oliver Bock's avatar
      bf200e93
      Added patch for SDL · bf200e93
      Oliver Bock authored
      * The BOINC v6 screensaver expects the graphics app to bear a specific window class name
      * It exits if the graphics app can't be found by that name!
      * Ergo: patch SDL's default class name to trick (satisfy) BOINC :-)
      bf200e93
      History
      Added patch for SDL
      Oliver Bock authored
      * The BOINC v6 screensaver expects the graphics app to bear a specific window class name
      * It exits if the graphics app can't be found by that name!
      * Ergo: patch SDL's default class name to trick (satisfy) BOINC :-)
    GraphicsEngineFactory.cpp 1.94 KiB
    /***************************************************************************
     *   Copyright (C) 2008 by Oliver Bock                                     *
     *   oliver.bock[AT]aei.mpg.de                                             *
     *                                                                         *
     *   This file is part of Einstein@Home.                                   *
     *                                                                         *
     *   Einstein@Home is free software: you can redistribute it and/or modify *
     *   it under the terms of the GNU General Public License as published     *
     *   by the Free Software Foundation, version 2 of the License.            *
     *                                                                         *
     *   Einstein@Home is distributed in the hope that it will be useful,      *
     *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
     *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the          *
     *   GNU General Public License for more details.                          *
     *                                                                         *
     *   You should have received a copy of the GNU General Public License     *
     *   along with Einstein@Home. If not, see <http://www.gnu.org/licenses/>. *
     *                                                                         *
     ***************************************************************************/
    
    #include "GraphicsEngineFactory.h"
    
    GraphicsEngineFactory::~GraphicsEngineFactory()
    {
    }
    GraphicsEngineFactory::GraphicsEngineFactory()
    {
    }
    
    AbstractGraphicsEngine * GraphicsEngineFactory::createInstance(
    							GraphicsEngineFactory::Engines engine,
    							GraphicsEngineFactory::Applications application)
    {
    	switch(engine) {
    		case Starsphere:
    			switch(application) {
    				case EinsteinS5R3:
    					return new StarsphereS5R3();
    					break;
    				default:
    					return NULL;
    			}
    			break;
    		default:
    			return NULL;	
    	}
    }