/[svn]/linuxsampler/trunk/src/engines/EngineFactory.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/EngineFactory.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1011 by iliev, Fri Jul 28 21:47:23 2006 UTC revision 1012 by capela, Sun Jan 7 15:52:36 2007 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2005, 2006 Christian Schoenebeck                        *   *   Copyright (C) 2005-2007 Christian Schoenebeck                        *
4   *                                                                         *   *                                                                         *
5   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
6   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 57  namespace LinuxSampler { Line 57  namespace LinuxSampler {
57          throw Exception("Unknown engine type");          throw Exception("Unknown engine type");
58      }      }
59    
60      void EngineFactory::Destroy(LinuxSampler::Engine* pEngine) {      void EngineFactory::Erase(LinuxSampler::Engine* pEngine) {
61          engines.erase(pEngine);          engines.erase(pEngine);
62      }      }
63    
64        void EngineFactory::Destroy(LinuxSampler::Engine* pEngine) {
65            delete pEngine;
66        }
67    
68      const std::set<LinuxSampler::Engine*>& EngineFactory::EngineInstances() {      const std::set<LinuxSampler::Engine*>& EngineFactory::EngineInstances() {
69          return engines;          return engines;
70      }      }

Legend:
Removed from v.1011  
changed lines
  Added in v.1012

  ViewVC Help
Powered by ViewVC