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-2007 by Christian Schoenebeck * |
* Copyright (C) 2003-2009 by Christian Schoenebeck * |
6 |
* <cuse@users.sourceforge.net> * |
* <cuse@users.sourceforge.net> * |
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 * |
38 |
|
|
39 |
#include <string> |
#include <string> |
40 |
#include <list> |
#include <list> |
|
#include <set> |
|
41 |
#include <map> |
#include <map> |
42 |
#include <iostream> |
#include <iostream> |
43 |
|
|
323 |
friend class List; |
friend class List; |
324 |
private: |
private: |
325 |
stream_mode_t Mode; |
stream_mode_t Mode; |
326 |
std::set<Chunk*> ResizedChunks; ///< All chunks which have been resized (enlarged / shortened). |
ChunkList ResizedChunks; ///< All chunks which have been resized (enlarged / shortened). |
327 |
|
|
328 |
unsigned long GetFileSize(); |
unsigned long GetFileSize(); |
329 |
void ResizeFile(unsigned long ulNewSize); |
void ResizeFile(unsigned long ulNewSize); |