[xiph-commits] r8432 - trunk/oggdsf/src/lib/core/ogg/libOOOgg
illiminable at motherfish-iii.xiph.org
illiminable at motherfish-iii.xiph.org
Wed Dec 15 22:17:42 PST 2004
Author: illiminable
Date: 2004-12-15 22:17:41 -0800 (Wed, 15 Dec 2004)
New Revision: 8432
Removed:
trunk/oggdsf/src/lib/core/ogg/libOOOgg/CallbackRego.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/CallbackRego.h
trunk/oggdsf/src/lib/core/ogg/libOOOgg/INotifyArrival.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/INotifyComplete.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/IOggCallback.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/IOggPackSource.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/IStampedOggPacketSink.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggBOSPage.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggBOSPage.h
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggCallbackRego.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggCallbackRego.h
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDemuxer.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDemuxer.h
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggSegmentTable.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggSegmentTable.h
trunk/oggdsf/src/lib/core/ogg/libOOOgg/SerialNoRego.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/SerialNoRego.h
Modified:
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDataBuffer.h
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPacket.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPacketiser.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPage.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageHeader.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageInterleaver.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPaginator.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPaginatorSettings.cpp
Log:
* delete some stray files.
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/CallbackRego.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/CallbackRego.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/CallbackRego.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,46 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include ".\callbackrego.h"
-
-CallbackRego::CallbackRego(void)
-{
- mWantsCopy = false;
-}
-
-CallbackRego::~CallbackRego(void)
-{
-}
-
-bool CallbackRego::wantsCopy() {
- return mWantsCopy;
-}
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/CallbackRego.h
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/CallbackRego.h 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/CallbackRego.h 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,47 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#pragma once
-
-class LIBOOOGG_API CallbackRego
-{
-public:
- CallbackRego(void);
- ~CallbackRego(void);
-
- bool wantsCopy();
- //For the moment everyone gets copies
-
- //void setWantsCopy(bool inWantsCopy);
-protected:
- bool mWantsCopy;
-
-};
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/INotifyArrival.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/INotifyArrival.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/INotifyArrival.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,41 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-#include "StdAfx.h"
-#include "inotifyarrival.h"
-
-INotifyArrival::INotifyArrival(void)
-{
-}
-
-INotifyArrival::~INotifyArrival(void)
-{
-}
-
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/INotifyComplete.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/INotifyComplete.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/INotifyComplete.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,40 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-#include "StdAfx.h"
-#include "inotifycomplete.h"
-
-INotifyComplete::INotifyComplete(void)
-{
-}
-
-INotifyComplete::~INotifyComplete(void)
-{
-}
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/IOggCallback.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/IOggCallback.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/IOggCallback.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,41 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include ".\ioggcallback.h"
-
-IOggCallback::IOggCallback(void)
-{
-}
-
-IOggCallback::~IOggCallback(void)
-{
-}
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/IOggPackSource.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/IOggPackSource.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/IOggPackSource.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,34 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include "ioggpacksource.h"
-
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/IStampedOggPacketSink.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/IStampedOggPacketSink.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/IStampedOggPacketSink.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,41 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include "istampedoggpacketsink.h"
-
-IStampedOggPacketSink::IStampedOggPacketSink(void)
-{
-}
-
-IStampedOggPacketSink::~IStampedOggPacketSink(void)
-{
-}
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggBOSPage.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggBOSPage.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggBOSPage.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,62 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include ".\oggbospage.h"
-
-OggBOSPage::OggBOSPage(void)
-{
-}
-
-OggBOSPage::~OggBOSPage(void)
-{
-}
-
-string OggBOSPage::identifier() {
- return mIdentifier;
-}
-void OggBOSPage::setIdentifier(string inIdentifier) {
- mIdentifier = inIdentifier;
-}
-
-bool OggBOSPage::isFixedLength() {
- return mIsFixedLength;
-}
-void OggBOSPage::setIsFixedLength(bool inIsFixedLength) {
- mIsFixedLength = inIsFixedLength;
-}
-
-unsigned long OggBOSPage::pageSize() {
- return mPageSize;
-}
-void OggBOSPage::setPageSize(unsigned long inPageSize) {
- mPageSize = inPageSize;
-}
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggBOSPage.h
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggBOSPage.h 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggBOSPage.h 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,65 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#pragma once
-
-
-using namespace std;
-
-class LIBOOOGG_API OggBOSPage
-{
-public:
- OggBOSPage(void);
- virtual ~OggBOSPage(void);
-
- //This isn't going to work !
- string identifier();
- void setIdentifier(string inIdentifier);
-
- bool isFixedLength();
- void setIsFixedLength(bool inIsFixedLength);
-
- unsigned long pageSize();
- void setPageSize(unsigned long inPageSize);
-
-
-
- virtual bool toCharArr(unsigned char* outArray, unsigned long inMaxSize) = 0;
- virtual void screenDump() = 0;
- virtual bool setPage(unsigned char* inArr, unsigned long inLength) = 0;
-protected:
- string mIdentifier;
-
- bool mIsFixedLength;
- unsigned long mPageSize;
-
-
-};
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggCallbackRego.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggCallbackRego.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggCallbackRego.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,66 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include ".\oggcallbackrego.h"
-
-
-OggCallbackRego::OggCallbackRego(fPageCallback inCB)
-{
- //mCB should never be null. If it is kill the object and get it out of
- // the rego lists.
- mCB = inCB;
-
-}
-
-OggCallbackRego::~OggCallbackRego(void)
-{
-}
-
-
-OggCallbackRego::OggCallbackRego(fPageCallback inCB, bool inWantsCopy) {
- mCB = inCB;
- mWantsCopy = inWantsCopy;
-}
-
-
-//This will call the callback
-void OggCallbackRego::dispatch(OggPage* inOggPage) {
- if (mWantsCopy) {
- //Clone the page
- OggPage* outOggPage = inOggPage->clone();
- mCB(outOggPage);
- } else {
- mCB(inOggPage);
- //FIX::: Needs fixing to propagate response up.
- }
-
-}
\ No newline at end of file
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggCallbackRego.h
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggCallbackRego.h 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggCallbackRego.h 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,49 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#pragma once
-#include "callbackrego.h"
-#include "OggTypedefs.h"
-#include "OggPage.h"
-class LIBOOOGG_API OggCallbackRego :
- public CallbackRego
-{
-public:
- OggCallbackRego(fPageCallback inCB);
- OggCallbackRego(fPageCallback inCB, bool inWantsCopy);
- ~OggCallbackRego(void);
-
- //This will call the callback
- void dispatch(OggPage* inOggPage);
-
-protected:
- fPageCallback mCB;
-};
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDataBuffer.h
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDataBuffer.h 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDataBuffer.h 2004-12-16 06:17:41 UTC (rev 8432)
@@ -33,7 +33,7 @@
//#include <sstream>
#include "CircularBuffer.h"
#include "OggPage.h"
-#include "SerialNoRego.h"
+#include "OggTypeDefs.h"
#include "IOggCallback.h"
#include "IFIFOBuffer.h"
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDemuxer.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDemuxer.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDemuxer.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,10 +0,0 @@
-#include "StdAfx.h"
-#include ".\oggdemuxer.h"
-
-OggDemuxer::OggDemuxer(void)
-{
-}
-
-OggDemuxer::~OggDemuxer(void)
-{
-}
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDemuxer.h
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDemuxer.h 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggDemuxer.h 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,9 +0,0 @@
-#pragma once
-
-class OggDemuxer
-{
-public:
- OggDemuxer(IDataSource inDataSource);
-
- ~OggDemuxer(void);
-};
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPacket.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPacket.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPacket.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -30,7 +30,7 @@
//===========================================================================
#include "StdAfx.h"
-#include "oggpacket.h"
+#include "OggPacket.h"
//LEAK CHECK::: 20041018 - OK.
OggPacket::OggPacket(void)
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPacketiser.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPacketiser.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPacketiser.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,5 +1,5 @@
#include "StdAfx.h"
-#include ".\oggpacketiser.h"
+#include "OggPacketiser.h"
OggPacketiser::OggPacketiser(void)
: mPacketSink(NULL)
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPage.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPage.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPage.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -30,7 +30,7 @@
//===========================================================================
#include "StdAfx.h"
-#include "oggpage.h"
+#include "OggPage.h"
//LEACK CHECKED::: 20041018 - OK.
OggPage::OggPage(void)
{
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageHeader.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageHeader.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageHeader.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -30,7 +30,7 @@
//===========================================================================
#include "StdAfx.h"
-#include "oggpageheader.h"
+#include "OggPageHeader.h"
OggPageHeader::OggPageHeader(void)
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageInterleaver.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageInterleaver.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPageInterleaver.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -29,7 +29,7 @@
//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//===========================================================================
#include "StdAfx.h"
-#include "oggpageinterleaver.h"
+#include "OggPageInterleaver.h"
OggPageInterleaver::OggPageInterleaver(IOggCallback* inFileWriter, INotifyComplete* inNotifier)
: mFileWriter(inFileWriter)
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPaginator.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPaginator.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPaginator.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -30,7 +30,7 @@
//===========================================================================
#include "StdAfx.h"
-#include "oggpaginator.h"
+#include "OggPaginator.h"
//LEAK CHECK::: Potential for leak based on mPendingPage. if setSettings is called. and also the last page won't get deleted. 20041018
//Checksum tables from libogg
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPaginatorSettings.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPaginatorSettings.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggPaginatorSettings.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -30,7 +30,7 @@
//===========================================================================
#include "StdAfx.h"
-#include "oggpaginatorsettings.h"
+#include "OggPaginatorSettings.h"
OggPaginatorSettings::OggPaginatorSettings(void)
: mSerialNo(0)
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggSegmentTable.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggSegmentTable.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggSegmentTable.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,134 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include "oggsegmenttable.h"
-
-OggSegmentTable::OggSegmentTable()
- : mSegmentTable(NULL)
- , mNumSegments(0)
-{
-
-}
-
-OggSegmentTable::~OggSegmentTable(void)
-{
- delete mSegmentTable;
-}
-
-OggSegmentTable* OggSegmentTable::clone() {
-
- //Creates a new Segment table which is a deep copy of this one.
- OggSegmentTable* retVal = new OggSegmentTable;
- if ( (mSegmentTable != NULL) && (mNumSegments > 0)) {
- //Make a new buffer in the returning class
- retVal->mSegmentTable = new unsigned char[mNumSegments];
-
- //Copy this segment table into the ne one.
- memcpy((void*)retVal->mSegmentTable, (const void*) mSegmentTable, mNumSegments);
- retVal->mNumSegments = mNumSegments;
-
- return retVal;
- } else {
- //Error ??
- delete retVal;
- return NULL;
- }
-}
-
-unsigned long OggSegmentTable::calculateDataSize() {
-
- //Sums the bytes in the segment table to calculate the size of data.
- //FIX::: ??? No checks on pointers.
-
- unsigned long retDataSize = 0;
- for (int i = 0; i < mNumSegments; i++) {
- retDataSize += mSegmentTable[i];
- }
-
- return retDataSize;
-}
-unsigned long OggSegmentTable::setSegmentTable(const unsigned char* inSegTable, unsigned char inNumSegments)
-{
- //Copies the buffer.
- if (inNumSegments != 0) {
- if (inSegTable == NULL) {
- //do nothing if pointer was null and numsegments is not 0.
- return 0;
- }
-
- //Delete any previous table
- delete mSegmentTable;
- mSegmentTable = NULL;
-
- //Make a new buffer.
- unsigned char* locSegTablePtr = new unsigned char[inNumSegments];
-
- //SLOW:::
- //Copy the incoming data into the new segemnt buffer
- memcpy((void*)locSegTablePtr, (const void*)inSegTable, inNumSegments);
- mSegmentTable = locSegTablePtr;
-
- mNumSegments = inNumSegments;
-
- //Return the size of the data the segment represents
- return calculateDataSize();
- } else {
- //Numsegments is zero.
-
- if (inSegTable == NULL) {
- //If num segments is null and the segtable is null we set delete the classes segment table and null it.
- delete mSegmentTable;
- mSegmentTable = NULL;
- return 0;
- } else {
- //Do nothing if inNumSegments is 0
- return 0;
- }
-
- }
-
-}
-
-void OggSegmentTable::rawData(unsigned char* outData) {
- //Must be a preprepared buffer at least mNumSegments. Does no error chceking.
- for( unsigned char i = 0; i < mNumSegments; i++) {
- outData[i] = mSegmentTable[i];
- }
-}
-unsigned char* OggSegmentTable::segmentTable() {
- //Returns a pointer to the internal segment table...
- return mSegmentTable;
-}
-unsigned char OggSegmentTable::numSegments() {
- //Number off segments in the table.
- return mNumSegments;
-}
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggSegmentTable.h
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggSegmentTable.h 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/OggSegmentTable.h 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,57 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#pragma once
-
-class LIBOOOGG_API OggSegmentTable
-
-{
-public:
-
- static const int MAX_NUM_SEGMENTS = 255;
- static const int MAX_SEGMENT_SIZE = 255;
- static const int SEGMENT_WIDTH = 1;
-
- OggSegmentTable();
- ~OggSegmentTable(void);
- OggSegmentTable* clone();
-
- unsigned long setSegmentTable(const unsigned char* inSegTable, unsigned char inNumSegments);
- unsigned char* segmentTable();
- unsigned char numSegments();
- void rawData(unsigned char* outData);
-
-private:
- unsigned long calculateDataSize();
- unsigned char* mSegmentTable;
- unsigned char mNumSegments;
-
-};
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/SerialNoRego.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/SerialNoRego.cpp 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/SerialNoRego.cpp 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,65 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include ".\serialnorego.h"
-
-SerialNoRego::SerialNoRego(unsigned long inSerialNo)
-{
- mSerialNo = inSerialNo;
-}
-
-SerialNoRego::~SerialNoRego(void)
-{
-}
-
-bool SerialNoRego::registerCB(OggCallbackRego* inCBRego) {
- //Put this callback registration in the list
- if (inCBRego != NULL) {
- mCBList.push_back(inCBRego);
- return true;
- } else {
- return false;
- }
-}
-void SerialNoRego::dispatch(OggPage* inOggPage) {
- //Loop through all our callbacks and fire the page off to all of them.
- for (unsigned long i = 0; i < mCBList.size(); i ++) {
- mCBList[i]->dispatch(inOggPage);
- }
- //NOTE : It is up to the OggCallbackRego to make copies if nescessary
- // Perhaps need different callbacks for const read only callbacks
- // Also maybe want to reference count.
-}
-
-unsigned long SerialNoRego::numCallbacks() {
- return (unsigned long)mCBList.size();
-}
\ No newline at end of file
Deleted: trunk/oggdsf/src/lib/core/ogg/libOOOgg/SerialNoRego.h
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/SerialNoRego.h 2004-12-15 23:44:36 UTC (rev 8431)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/SerialNoRego.h 2004-12-16 06:17:41 UTC (rev 8432)
@@ -1,54 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-// notice, this list of conditions and the following disclaimer in the
-// documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-// may be used to endorse or promote products derived from this software
-// without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#pragma once
-
-#include "OggCallbackRego.h"
-#include "OggPage.h"
-
-class LIBOOOGG_API SerialNoRego
-{
-public:
- SerialNoRego(unsigned long inSerialNo);
- ~SerialNoRego(void);
-
- bool registerCB(OggCallbackRego* inCBRego);
- void dispatch(OggPage* inOggPage);
-
- unsigned long numCallbacks();
-
- unsigned long serialNo();
-
- unsigned long setSerialNo();
-private:
- unsigned long mSerialNo;
- vector<OggCallbackRego*> mCBList;
-};
More information about the commits
mailing list