From 306b80c1cf9ab490a83b36d3e7cf07e09f9e5d68 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 15 May 2010 07:44:10 +0000 Subject: mkunit.sh was a little dumb, it didn't handle a number of things correctly. I've written a new program that basically does the same thing, only it's much more clever, and does many more of the translations and conversions better, including the #line directives. Also, I dropped nids, we don't need it anymore. But now I'm ready to write some serious tests for myriad. --- src/nidsstream.h | 59 -------------------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 src/nidsstream.h (limited to 'src/nidsstream.h') diff --git a/src/nidsstream.h b/src/nidsstream.h deleted file mode 100644 index c8c8ce0..0000000 --- a/src/nidsstream.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2007-2010 Xagasoft, All rights reserved. - * - * This file is part of the libbu++ library and is released under the - * terms of the license contained in the file LICENSE. - */ - -#ifndef BU_NIDS_STREAM_H -#define BU_NIDS_STREAM_H - -#include "bu/stream.h" -#include "bu/nids.h" - -namespace Bu -{ - class NidsStream : public Bu::Stream - { - friend class Nids; - private: - /** - * These can only be created by the Nids class. - */ - NidsStream( Nids &rNids, uint32_t uStream ); - - public: -// NidsStream( const NidsStream &rSrc ); - virtual ~NidsStream(); - - virtual void close(); - virtual size_t read( void *pBuf, size_t nBytes ); - virtual size_t write( const void *pBuf, size_t nBytes ); - using Stream::write; - virtual long tell(); - virtual void seek( long offset ); - virtual void setPos( long pos ); - virtual void setPosEnd( long pos ); - virtual bool isEos(); - virtual bool isOpen(); - virtual void flush(); - virtual bool canRead(); - virtual bool canWrite(); - virtual bool isReadable(); - virtual bool isWritable(); - virtual bool isSeekable(); - virtual bool isBlocking(); - virtual void setBlocking( bool bBlocking=true ); - - private: - Nids &rNids; - uint32_t uStream; - Nids::Block *pCurBlock; - uint32_t uCurBlock; - uint32_t uSize; - uint32_t uBlockSize; - uint32_t uPos; - }; -}; - -#endif -- cgit v1.2.3