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

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

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

revision 958 by schoenebeck, Wed Nov 29 19:48:38 2006 UTC revision 1212 by schoenebeck, Tue May 29 23:59:36 2007 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005, 2006 Christian Schoenebeck                        *   *   Copyright (C) 2005 - 2007 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This library is free software; you can redistribute it and/or modify  *   *   This library is free software; you can redistribute it and/or modify  *
9   *   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 25  Line 25 
25  #define __LS_INSTRUMENTMANAGER_H__  #define __LS_INSTRUMENTMANAGER_H__
26    
27  #include "../common/global.h"  #include "../common/global.h"
28    #include "../common/Exception.h"
29    
30  #include <vector>  #include <vector>
31    
# Line 33  namespace LinuxSampler { Line 34  namespace LinuxSampler {
34      // just symbol prototyping      // just symbol prototyping
35      class EngineChannel;      class EngineChannel;
36    
37        /**
38         * Will be thrown by InstrumentManager implementations on errors.
39         */
40        class InstrumentManagerException : public Exception {
41            public:
42                InstrumentManagerException(String msg) : Exception(msg) {}
43        };
44    
45      /** @brief Abstract interface class for InstrumentManagers.      /** @brief Abstract interface class for InstrumentManagers.
46       *       *
47       * Sampler engines should provide an InstrumentManager for allowing       * Sampler engines should provide an InstrumentManager for allowing
# Line 110  namespace LinuxSampler { Line 119  namespace LinuxSampler {
119               * This method has to be implemented by the descendant.               * This method has to be implemented by the descendant.
120               */               */
121              virtual String GetInstrumentName(instrument_id_t ID) = 0;              virtual String GetInstrumentName(instrument_id_t ID) = 0;
122    
123                virtual String GetInstrumentTypeName(instrument_id_t ID) = 0;
124    
125                virtual String GetInstrumentTypeVersion(instrument_id_t ID) = 0;
126    
127                virtual void LaunchInstrumentEditor(instrument_id_t ID) throw (InstrumentManagerException) = 0;
128      };      };
129    
130  };  }
131    
132  #endif // __LS_INSTRUMENTMANAGER_H__  #endif // __LS_INSTRUMENTMANAGER_H__

Legend:
Removed from v.958  
changed lines
  Added in v.1212

  ViewVC Help
Powered by ViewVC