diff options
| author | vovanec <vovanec@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-02-07 13:36:34 +0000 |
|---|---|---|
| committer | vovanec <vovanec@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-02-07 13:36:34 +0000 |
| commit | 06d1877811fa6aa97dddc0e03bcde4e766928c87 (patch) | |
| tree | c25462d0e58c3d58c728664440412bf4f16a49ec /lib/buffer.h | |
| parent | 3f6b60f23c44a8ba8dd97ca6f41a16e2af7ef2f7 (diff) | |
| download | qmmp-06d1877811fa6aa97dddc0e03bcde4e766928c87.tar.gz qmmp-06d1877811fa6aa97dddc0e03bcde4e766928c87.tar.bz2 qmmp-06d1877811fa6aa97dddc0e03bcde4e766928c87.zip | |
new directory structure
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@232 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'lib/buffer.h')
| -rw-r--r-- | lib/buffer.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/lib/buffer.h b/lib/buffer.h deleted file mode 100644 index c5ffadc0c..000000000 --- a/lib/buffer.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2000-2001 Brad Hughes <bhughes@trolltech.com> -// -// Use, modification and distribution is allowed without limitation, -// warranty, or liability of any kind. -// - -#ifndef __buffer_h -#define __buffer_h - -#include "constants.h" - -class Buffer -{ -public: - Buffer() - { - data = new unsigned char[Buffer::size()]; - nbytes = 0; - rate = 0; - exceeding = 0; - } - ~Buffer() - { - delete data; - data = 0; - nbytes = 0; - rate = 0; - exceeding = 0; - } - - unsigned char *data; - unsigned long nbytes; - unsigned long rate; - unsigned long exceeding; - - static unsigned long size() - { - return globalBlockSize; - } -}; - - -#endif // __buffer_h - |
