00001 /*************************************************************************** 00002 LOW_platformMiscFactory.cpp - description 00003 ------------------- 00004 begin : Thu Aug 1 2002 00005 copyright : (C) 2002 by Harald Roelle 00006 email : roelle@informatik.uni-muenchen.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #include "LOW_platformMisc.h" 00019 #include "LOW_platformMiscFactory.h" 00020 #include "LOW_platformMisc_Linux.h" 00021 00022 00023 00024 //===================================================================================== 00025 // 00026 // constructors 00027 // 00028 00029 LOW_platformMiscFactory::LOW_platformMiscFactory() 00030 { 00031 } 00032 00033 00034 LOW_platformMiscFactory::~LOW_platformMiscFactory() 00035 { 00036 } 00037 00038 00039 //===================================================================================== 00040 // 00041 // static factory 00042 // 00043 00044 LOW_platformMisc* LOW_platformMiscFactory::new_platformMisc() 00045 { 00046 #ifdef __linux__ 00047 return new LOW_platformMisc_Linux(); 00048 #endif 00049 }