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 * |
23 |
|
|
24 |
#include <set> |
#include <set> |
25 |
|
|
26 |
#include "common/EngineChannel.h" |
#include "EngineChannel.h" |
27 |
|
|
28 |
namespace LinuxSampler { |
namespace LinuxSampler { |
29 |
|
|
30 |
class EngineChannelFactory { |
class EngineChannelFactory { |
31 |
public: |
public: |
32 |
static EngineChannel* Create(String EngineType) throw (LinuxSamplerException); |
static EngineChannel* Create(String EngineType) throw (Exception); |
33 |
static void Destroy(EngineChannel* pEngineChannel); |
static void Destroy(EngineChannel* pEngineChannel); |
34 |
static std::set<EngineChannel*> EngineChannelInstances(); |
static const std::set<EngineChannel*>& EngineChannelInstances(); |
35 |
}; |
}; |
36 |
|
|
37 |
} // namepsace LinuxSampler |
} // namespace LinuxSampler |
38 |
|
|
39 |
#endif // __LS_ENGINECHANNELFACTORY_H__ |
#endif // __LS_ENGINECHANNELFACTORY_H__ |