/[svn]/linuxsampler/trunk/src/db/InstrumentsDb.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/db/InstrumentsDb.h

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

revision 1780 by iliev, Tue Apr 29 15:44:09 2008 UTC revision 1781 by iliev, Mon Sep 29 18:21:21 2008 UTC
# Line 305  namespace LinuxSampler { Line 305  namespace LinuxSampler {
305               * @param pProgress The progress used to monitor the scan process.               * @param pProgress The progress used to monitor the scan process.
306               * @throws Exception if the operation failed.               * @throws Exception if the operation failed.
307               */               */
308              void AddInstruments(String DbDir, String FilePath, int Index = -1, ScanProgress* pProgress = NULL);              void AddInstruments(String DbDir, bool insDir, String FilePath, int Index = -1, ScanProgress* pProgress = NULL);
309    
310              /**              /**
311               * Adds all supported instruments in the specified file system               * Adds all supported instruments in the specified file system
# Line 331  namespace LinuxSampler { Line 331  namespace LinuxSampler {
331               * @param bBackground Determines whether               * @param bBackground Determines whether
332               * the task should be done in the background.               * the task should be done in the background.
333               * @returns If bBackground is true, the ID of the scan job;               * @returns If bBackground is true, the ID of the scan job;
334                             * @param insDir if true a directory is added for each instrument file
335               * -1 otherwise.               * -1 otherwise.
336               * @throws Exception if the operation failed.               * @throws Exception if the operation failed.
337               */               */
338              int AddInstruments(ScanMode Mode, String DbDir, String FsDir, bool bBackground);              int AddInstruments(ScanMode Mode, String DbDir, String FsDir, bool bBackground, bool insDir = false);
339    
340              /**              /**
341               * Gets the number of instruments in the specified directory.               * Gets the number of instruments in the specified directory.
# Line 700  namespace LinuxSampler { Line 701  namespace LinuxSampler {
701               * All slashes in the directory names should be replaced with '\0'.               * All slashes in the directory names should be replaced with '\0'.
702               * @param FsDir The absolute path name of a directory in the file               * @param FsDir The absolute path name of a directory in the file
703               * system.               * system.
704                             * @param insDir If true a directory will be create for each gig file
705               * @param pProgress The progress used to monitor the scan process.               * @param pProgress The progress used to monitor the scan process.
706               * @throws Exception if the operation failed.               * @throws Exception if the operation failed.
707               */               */
708              void AddInstrumentsNonrecursive(String DbDir, String FsDir, ScanProgress* pProgress = NULL);              void AddInstrumentsNonrecursive(String DbDir, String FsDir, bool insDir = false, ScanProgress* pProgress = NULL);
709    
710              /**              /**
711               * Adds all supported instruments in the specified file system               * Adds all supported instruments in the specified file system
# Line 722  namespace LinuxSampler { Line 724  namespace LinuxSampler {
724               * @param pProgress The progress used to monitor the scan process.               * @param pProgress The progress used to monitor the scan process.
725               * @throws Exception if the operation failed.               * @throws Exception if the operation failed.
726               */               */
727              void AddInstrumentsRecursive(String DbDir, String FsDir, bool Flat = false, ScanProgress* pProgress = NULL);              void AddInstrumentsRecursive(String DbDir, String FsDir, bool Flat = false, bool insDir = false, ScanProgress* pProgress = NULL);
728    
729              /**              /**
730               * Adds the instruments in the specified file               * Adds the instruments in the specified file

Legend:
Removed from v.1780  
changed lines
  Added in v.1781

  ViewVC Help
Powered by ViewVC