/[svn]/linuxsampler/trunk/src/common/ResourceManager.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/ResourceManager.h

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

revision 970 by schoenebeck, Wed Dec 6 22:28:17 2006 UTC revision 1040 by schoenebeck, Wed Feb 7 15:41:31 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 program is free software; you can redistribute it and/or modify  *   *   This program 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 316  class ResourceManager { Line 316  class ResourceManager {
316           * @param bLock - use thread safety mechanisms           * @param bLock - use thread safety mechanisms
317           * @throws Exception in case an invalid Mode was given           * @throws Exception in case an invalid Mode was given
318           */           */
319          void SetAvailabilityMode(T_key Key, mode_t Mode, bool bLock = true) throw (Exception) {          void SetAvailabilityMode(T_key Key, mode_t Mode, bool bLock = true) {
320              if (Mode != ON_DEMAND && Mode != ON_DEMAND_HOLD && Mode != PERSISTENT)              if (Mode != ON_DEMAND && Mode != ON_DEMAND_HOLD && Mode != PERSISTENT)
321                  throw Exception("ResourceManager::SetAvailabilityMode(): invalid mode");                  throw Exception("ResourceManager::SetAvailabilityMode(): invalid mode");
322    

Legend:
Removed from v.970  
changed lines
  Added in v.1040

  ViewVC Help
Powered by ViewVC