2 |
* * |
* * |
3 |
* libgig - C++ cross-platform Gigasampler format file access library * |
* libgig - C++ cross-platform Gigasampler format file access library * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003-2006 by Christian Schoenebeck * |
* Copyright (C) 2003-2007 by Christian Schoenebeck * |
6 |
* <cuse@users.sourceforge.net> * |
* <cuse@users.sourceforge.net> * |
7 |
* * |
* * |
8 |
* This program is part of libgig. * |
* This program is part of libgig. * |
48 |
#include <sys/stat.h> |
#include <sys/stat.h> |
49 |
#include <dirent.h> |
#include <dirent.h> |
50 |
#include <errno.h> |
#include <errno.h> |
51 |
#include <dlfcn.h> |
|
52 |
|
#include "gig.h" |
53 |
|
|
54 |
|
#if POSIX |
55 |
|
# include <dlfcn.h> |
56 |
|
#endif |
57 |
|
|
58 |
// only libsndfile is available for Windows, so we use that for writing the sound files |
// only libsndfile is available for Windows, so we use that for writing the sound files |
59 |
#ifdef WIN32 |
#ifdef WIN32 |
73 |
# include <audiofile.h> |
# include <audiofile.h> |
74 |
#endif // HAVE_SNDFILE |
#endif // HAVE_SNDFILE |
75 |
|
|
|
#include "gig.h" |
|
|
|
|
76 |
using namespace std; |
using namespace std; |
77 |
|
|
78 |
typedef map<unsigned int, bool> OrderMap; |
typedef map<unsigned int, bool> OrderMap; |
384 |
#endif // !HAVE_SNDFILE |
#endif // !HAVE_SNDFILE |
385 |
|
|
386 |
string Revision() { |
string Revision() { |
387 |
string s = "$Revision: 1.9 $"; |
string s = "$Revision: 1.10 $"; |
388 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
389 |
} |
} |
390 |
|
|