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

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

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

revision 840 by persson, Sun Feb 26 13:00:08 2006 UTC revision 900 by schoenebeck, Wed Jul 5 17:53:22 2006 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2005 Christian Schoenebeck                              *   *   Copyright (C) 2005, 2006 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 22  Line 22 
22  #define __LS_ENGINEFACTORY_H__  #define __LS_ENGINEFACTORY_H__
23    
24  #include "../common/global.h"  #include "../common/global.h"
25  #include "../common/LinuxSamplerException.h"  #include "../common/Exception.h"
26  #include "common/Engine.h"  #include "Engine.h"
27    
28  #include <set>  #include <set>
29    #include <vector>
30    
31  namespace LinuxSampler {  namespace LinuxSampler {
32    
33      class EngineFactory {      class EngineFactory {
34          public:          public:
35              static Engine* Create(String EngineType) throw (LinuxSamplerException);              static std::vector<String> AvailableEngineTypes();
36                static String AvailableEngineTypesAsString();
37                static Engine* Create(String EngineType) throw (Exception);
38              static void Destroy(Engine* pEngine);              static void Destroy(Engine* pEngine);
39              static const std::set<Engine*>& EngineInstances();              static const std::set<Engine*>& EngineInstances();
40      };      };

Legend:
Removed from v.840  
changed lines
  Added in v.900

  ViewVC Help
Powered by ViewVC