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-2009 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. * |
93 |
cout << "Global File Informations:" << endl; |
cout << "Global File Informations:" << endl; |
94 |
cout << " Total instruments: " << gig->Instruments << endl; |
cout << " Total instruments: " << gig->Instruments << endl; |
95 |
if (gig->pVersion) { |
if (gig->pVersion) { |
96 |
cout << " Version: " << gig->pVersion->major << "." |
cout << " Version: " << gig->pVersion->major << "." |
97 |
<< gig->pVersion->minor << "." |
<< gig->pVersion->minor << "." |
98 |
<< gig->pVersion->release << "." |
<< gig->pVersion->release << "." |
99 |
<< gig->pVersion->build << endl; |
<< gig->pVersion->build << endl; |
100 |
} |
} |
101 |
if (gig->pInfo) { |
if (gig->pInfo) { |
102 |
if (gig->pInfo->Name.size()) |
if (gig->pInfo->Name.size()) |
401 |
} |
} |
402 |
|
|
403 |
string Revision() { |
string Revision() { |
404 |
string s = "$Revision: 1.23 $"; |
string s = "$Revision: 1.24 $"; |
405 |
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 |
406 |
} |
} |
407 |
|
|