[xiph-commits] r7084 - in trunk/oggdsf/src/lib/codecs/cmml: .
illiminable at dactyl.lonelymoon.com
illiminable
Sat Jul 10 12:52:08 PDT 2004
libCMMLTagsDotNET
Message-ID: <20040710195208.2D8069AAAB at dactyl.lonelymoon.com>
Author: illiminable
Date: Sat Jul 10 12:52:08 2004
New Revision: 7084
Added:
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AnchorTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AnchorTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AssemblyInfo.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/BaseTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/BaseTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLDoc.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLDoc.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLPreamble.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLPreamble.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLRootTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLRootTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTagList.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTagList.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/DescTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/DescTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HeadTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HeadTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HumReadCMMLTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HumReadCMMLTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImageTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImageTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTagList.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTagList.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MMLRootTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MMLRootTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTagList.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTagList.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTagList.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTagList.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTagList.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTagList.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ReadMe.txt
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/Stdafx.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/Stdafx.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/StreamTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/StreamTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TagList.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TagList.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TextFieldTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TextFieldTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TitleTag.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TitleTag.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.aps
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.ico
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.rc
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.cpp
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.h
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.vcproj
trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/resource.h
Log:
* Importing .NET CMML Tag container classes.
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AnchorTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AnchorTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AnchorTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,88 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\anchortag.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ AnchorTag::AnchorTag(void)
+ {
+ mBaseClass = new C_AnchorTag;
+ }
+
+ AnchorTag::~AnchorTag(void)
+ {
+ delete mBaseClass;
+ }
+
+ AnchorTag::AnchorTag(C_AnchorTag* inTag) {
+ mBaseClass = inTag;
+ }
+
+ C_AnchorTag* AnchorTag::getMe() {
+ return (C_AnchorTag*)mBaseClass;
+ }
+
+
+ //Accessors
+ String* AnchorTag::cls() {
+ return Wrappers::CStrToNetStr( getMe()->cls().c_str() );
+
+ }
+ String* AnchorTag::href() {
+ return Wrappers::CStrToNetStr( getMe()->href().c_str() );
+ }
+
+ //Mutators
+ void AnchorTag::setCls(String* inCls) {
+ char* tc = Wrappers::netStrToCStr( inCls );
+ getMe()->setCls( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void AnchorTag::setHref(String* inHref) {
+ char* tc = Wrappers::netStrToCStr( inHref );
+ getMe()->setHref( tc );
+ Wrappers::releaseCStr( tc );
+
+ }
+
+ //Other
+ String* AnchorTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AnchorTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AnchorTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AnchorTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,98 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#pragma managed
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "TextFieldTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_AnchorTag.h>
+#pragma managed
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ //ORIGINAL CLASS
+// //Derived Classes
+// : public C_TextFieldTag
+//{
+//public:
+// //Constructors
+// C_AnchorTag(void);
+// virtual ~C_AnchorTag(void);
+//
+// //Accessors
+// string cls();
+// string href();
+//
+// //Mutators
+// void setCls(string inCls);
+// void setHref(string inHref);
+//
+// //Other
+// virtual string toString();
+
+
+
+ public __gc class AnchorTag
+ : public TextFieldTag
+ {
+ public:
+ AnchorTag(void);
+ AnchorTag(C_AnchorTag* inTag);
+ virtual ~AnchorTag(void);
+
+ //Accessors
+ String* cls();
+ String* href();
+
+ //Mutators
+ void setCls(String* inCls);
+ void setHref(String* inHref);
+
+ //Other
+ virtual String* toString();
+
+
+ C_AnchorTag* getMe();
+
+
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AssemblyInfo.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AssemblyInfo.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/AssemblyInfo.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,89 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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"
+
+using namespace System::Reflection;
+using namespace System::Runtime::CompilerServices;
+
+//
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+//
+[assembly:AssemblyTitleAttribute("")];
+[assembly:AssemblyDescriptionAttribute("")];
+[assembly:AssemblyConfigurationAttribute("")];
+[assembly:AssemblyCompanyAttribute("")];
+[assembly:AssemblyProductAttribute("")];
+[assembly:AssemblyCopyrightAttribute("")];
+[assembly:AssemblyTrademarkAttribute("")];
+[assembly:AssemblyCultureAttribute("")];
+
+//
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the value or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+
+[assembly:AssemblyVersionAttribute("1.0.*")];
+
+//
+// In order to sign your assembly you must specify a key to use. Refer to the
+// Microsoft .NET Framework documentation for more information on assembly signing.
+//
+// Use the attributes below to control which key is used for signing.
+//
+// Notes:
+// (*) If no key is specified, the assembly is not signed.
+// (*) KeyName refers to a key that has been installed in the Crypto Service
+// Provider (CSP) on your machine. KeyFile refers to a file which contains
+// a key.
+// (*) If the KeyFile and the KeyName values are both specified, the
+// following processing occurs:
+// (1) If the KeyName can be found in the CSP, that key is used.
+// (2) If the KeyName does not exist and the KeyFile does exist, the key
+// in the KeyFile is installed into the CSP and used.
+// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
+// When specifying the KeyFile, the location of the KeyFile should be
+// relative to the project directory.
+// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
+// documentation for more information on this.
+//
+[assembly:AssemblyDelaySignAttribute(false)];
+[assembly:AssemblyKeyFileAttribute("")];
+[assembly:AssemblyKeyNameAttribute("")];
+
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/BaseTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/BaseTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/BaseTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,75 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\basetag.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ BaseTag::BaseTag(void) {
+ mBaseClass = new C_BaseTag;
+ }
+
+ BaseTag::BaseTag(C_BaseTag* inTag) {
+ mBaseClass = inTag;
+ }
+
+ BaseTag::~BaseTag(void) {
+ delete mBaseClass;
+ }
+
+ C_BaseTag* BaseTag::getMe() {
+ return (C_BaseTag*)mBaseClass;
+ }
+
+ //Accessors
+ String* BaseTag::href() {
+ return Wrappers::CStrToNetStr( getMe()->href().c_str() );
+ }
+
+ //Mutators
+ void BaseTag::setHref(String* inHref) {
+ char* tc = Wrappers::netStrToCStr( inHref );
+ getMe()->setHref( tc );
+ Wrappers::releaseCStr( tc );
+ }
+
+ //Other
+ String* BaseTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+ }
+
+
+}
+}
\ No newline at end of file
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/BaseTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/BaseTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/BaseTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,87 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "CMMLTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_BaseTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+
+ ////Accessors
+ //string href();
+
+ ////Mutators
+ //void setHref(string inHref);
+
+ ////Other
+ //virtual string toString();
+
+
+ public __gc class BaseTag
+ : public CMMLTag
+ {
+ public:
+ BaseTag(void);
+ BaseTag(C_BaseTag* inTag);
+ ~BaseTag(void);
+
+ //Accessors
+ String* href();
+
+ //Mutators
+ void setHref(String* inHref);
+
+ //Other
+ virtual String* toString();
+
+
+ C_BaseTag* getMe();
+
+
+ };
+}
+}
+
+
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLDoc.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLDoc.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLDoc.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,47 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\cmmldoc.h"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+CMMLDoc::CMMLDoc(void)
+{
+}
+
+CMMLDoc::~CMMLDoc(void)
+{
+}
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLDoc.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLDoc.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLDoc.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,59 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "StreamTag.h"
+#include "HeadTag.h"
+#include "ClipTagList.h"
+#include "CMMLTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_CMMLRootTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class CMMLDoc
+ {
+ public:
+ CMMLDoc(void);
+ ~CMMLDoc(void);
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLPreamble.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLPreamble.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLPreamble.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,82 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\cmmlpreamble.h"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ CMMLPreamble::CMMLPreamble(void)
+ {
+ }
+
+ CMMLPreamble::~CMMLPreamble(void)
+ {
+ }
+
+
+ //Accessors
+ String* CMMLPreamble::xmlVersion() {
+ return Wrappers::CStrToNetStr( mBaseClass->xmlVersion().c_str() );
+ }
+ String* CMMLPreamble::xmlEncoding() {
+ return Wrappers::CStrToNetStr( mBaseClass->xmlEncoding().c_str() );
+ }
+ String* CMMLPreamble::xmlStandAlone() {
+ return Wrappers::CStrToNetStr( mBaseClass->xmlStandAlone().c_str() );
+ }
+
+ //Mutators
+ void CMMLPreamble::setXmlVersion(String* inVersion) {
+ char* tc = Wrappers::netStrToCStr( inVersion );
+ mBaseClass->setXmlVersion( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void CMMLPreamble::setXmlEncoding(String* inEncoding) {
+ char* tc = Wrappers::netStrToCStr( inEncoding );
+ mBaseClass->setXmlEncoding( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void CMMLPreamble::setXmlStandAlone(String* inStandAlone) {
+ char* tc = Wrappers::netStrToCStr( inStandAlone );
+ mBaseClass->setXmlStandAlone( tc );
+ Wrappers::releaseCStr( tc );
+ }
+
+ //Others
+ String* CMMLPreamble::toString() {
+ return Wrappers::CStrToNetStr( mBaseClass->toString().c_str() );
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLPreamble.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLPreamble.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLPreamble.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,90 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#pragma unmanaged
+#include <config.h>
+#include <C_CMMLPreamble.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ ////Accessors
+ //string xmlVersion();
+ //string xmlEncoding();
+ //string xmlStandAlone();
+ //
+ ////Mutators
+ //void setXmlVersion(string inVersion);
+ //void setXmlEncoding(string inEncoding);
+ //void setXmlStandAlone(string inStandAlone);
+
+ ////Others
+ //virtual string toString();
+
+ public __gc class CMMLPreamble
+ {
+ public:
+ CMMLPreamble(void);
+ ~CMMLPreamble(void);
+
+
+
+ //Accessors
+ String* xmlVersion();
+ String* xmlEncoding();
+ String* xmlStandAlone();
+
+ //Mutators
+ void setXmlVersion(String* inVersion);
+ void setXmlEncoding(String* inEncoding);
+ void setXmlStandAlone(String* inStandAlone);
+
+ //Others
+ virtual String* toString();
+ protected:
+
+ C_CMMLPreamble* mBaseClass;
+
+
+
+
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLRootTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLRootTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLRootTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,84 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\cmmlroottag.h"
+#using <mscorlib.dll>
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+CMMLRootTag::CMMLRootTag(void)
+{
+ mBaseClass = new C_CMMLRootTag;
+}
+
+CMMLRootTag::~CMMLRootTag(void)
+
+{
+ delete mBaseClass;
+}
+
+ //Accessors
+
+StreamTag* CMMLRootTag::stream() {
+ return new StreamTag(getMe()->stream()->clone());
+}
+HeadTag* CMMLRootTag::head() {
+ return new HeadTag(getMe()->head()->clone());
+}
+ClipTagList* CMMLRootTag::clipList() {
+ return new ClipTagList(getMe()->clipList()->clone());
+
+}
+
+ //Mutators
+void CMMLRootTag::setStream(StreamTag* inStreamTag) {
+ getMe()->setStream(inStreamTag->getMe()->clone());
+}
+void CMMLRootTag::setHead(HeadTag* inHeadTag) {
+ getMe()->setHead(inHeadTag->getMe()->clone());
+}
+void CMMLRootTag::setClipList(ClipTagList* inClipList) {
+ getMe()->setClipList(inClipList->getMe()->clone());
+}
+
+ //Other
+String* CMMLRootTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str());
+}
+
+C_CMMLRootTag* CMMLRootTag::getMe() {
+ return (C_CMMLRootTag*)mBaseClass;
+}
+
+}
+}
\ No newline at end of file
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLRootTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLRootTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLRootTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,76 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "StreamTag.h"
+#include "HeadTag.h"
+#include "ClipTagList.h"
+#include "CMMLTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_CMMLRootTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class CMMLRootTag
+ : public CMMLTag
+ {
+ public:
+ CMMLRootTag(void);
+ virtual ~CMMLRootTag(void);
+
+ //Accessors
+
+ StreamTag* stream();
+ HeadTag* head();
+ ClipTagList* clipList();
+
+ //Mutators
+ void setStream(StreamTag* inStreamTag);
+ void setHead(HeadTag* inHeadTag);
+ void setClipList(ClipTagList* inClipList);
+
+ //Other
+ virtual String* toString();
+ C_CMMLRootTag* getMe();
+
+ };
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,65 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\cmmltag.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ CMMLTag::CMMLTag(void) {
+ //ABSTRACT CLASS
+ //mBaseClass = new C_CMMLTag;
+ }
+
+ CMMLTag::~CMMLTag(void)
+ //delete mBaseClass;
+ {
+ }
+ //Accessors
+ String* CMMLTag::id() {
+ return Wrappers::CStrToNetStr( mBaseClass->id().c_str() );
+ }
+
+ //Mutators
+ void CMMLTag::setId(String* inId) {
+ char* tc = Wrappers::netStrToCStr( inId );
+ mBaseClass->setId( tc );
+ Wrappers::releaseCStr( tc );
+
+ }
+
+
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/CMMLTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,126 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#pragma unmanaged
+#include <config.h>
+#include <C_CMMLTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ //ORIGINAL TAG
+
+// public:
+// //Constructors
+// C_CMMLTag(void);
+// virtual ~C_CMMLTag(void);
+//
+// //Enumerations
+// enum eTagType {
+// UNKNOWN,
+// IMPORT,
+// STREAM,
+// META,
+// HEAD,
+// TITLE,
+// BASE,
+// CLIP,
+// ANCHOR,
+// IMAGE,
+// DESC,
+// PARAM,
+// BAD_TAG = 1000
+// };
+//
+// //Accessors
+// string id();
+//
+// //Mutators
+// void setId(string inId);
+//
+// //Other
+// virtual string toString() = 0;
+//protected:
+// //Property Data
+// string mId;
+// eTagType mTagType;
+//
+// string makeElement(string inElemName, string inElemContent);
+
+
+ public __gc class CMMLTag
+ {
+ public:
+ CMMLTag(void);
+ ~CMMLTag(void);
+
+ //enum eTagType {
+ // UNKNOWN,
+ // IMPORT,
+ // STREAM,
+ // META,
+ // HEAD,
+ // TITLE,
+ // BASE,
+ // CLIP,
+ // ANCHOR,
+ // IMAGE,
+ // DESC,
+ // PARAM,
+ // BAD_TAG = 1000
+ //};
+
+ //Accessors
+ String* id();
+
+ //Mutators
+ void setId(String* inId);
+
+ //Other
+ virtual String* toString() = 0;
+
+ protected:
+ C_CMMLTag* mBaseClass;
+
+
+ };
+
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,118 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\cliptag.h"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ ClipTag::ClipTag(void)
+ {
+ mBaseClass = new C_ClipTag;
+ }
+
+ ClipTag::ClipTag(C_ClipTag* inTag) {
+ mBaseClass = inTag;
+ }
+ ClipTag::~ClipTag(void)
+ {
+ delete mBaseClass;
+ }
+
+ C_ClipTag* ClipTag::getMe() {
+ return (C_ClipTag*)mBaseClass;
+ }
+
+ //Accessors
+ String* ClipTag::track() {
+ return Wrappers::CStrToNetStr( getMe()->track().c_str() );
+ }
+ MetaTagList* ClipTag::metaList() {
+ return new MetaTagList(getMe()->metaList()->clone());
+ }
+ AnchorTag* ClipTag::anchor() {
+ return new AnchorTag(getMe()->anchor()->clone());
+ }
+ ImageTag* ClipTag::image() {
+ return new ImageTag(getMe()->image()->clone());
+ }
+ DescTag* ClipTag::desc() {
+ return new DescTag(getMe()->desc()->clone());
+ }
+
+ String* ClipTag::start() {
+ return Wrappers::CStrToNetStr( getMe()->start().c_str() );
+
+ }
+ String* ClipTag::end() {
+ return Wrappers::CStrToNetStr( getMe()->end().c_str() );
+
+ }
+
+
+ //Mutators
+ void ClipTag::setTrack(String* inTrack) {
+ char* tc = Wrappers::netStrToCStr( inTrack );
+ getMe()->setTrack( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void ClipTag::setAnchor(AnchorTag* inAnchor) {
+ getMe()->setAnchor(inAnchor->getMe()->clone());
+ }
+ void ClipTag::setImage(ImageTag* inImage) {
+ getMe()->setImage(inImage->getMe()->clone());
+ }
+ void ClipTag::setDesc(DescTag* inDesc) {
+ getMe()->setDesc(inDesc->getMe()->clone());
+ }
+
+ void ClipTag::setStart(String* inStart) {
+ char* tc = Wrappers::netStrToCStr( inStart );
+ getMe()->setStart( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void ClipTag::setEnd(String* inEnd) {
+ char* tc = Wrappers::netStrToCStr( inEnd );
+ getMe()->setEnd( tc );
+ Wrappers::releaseCStr( tc );
+ }
+
+
+ //Others
+ String* ClipTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+
+ }
+
+}
+}
\ No newline at end of file
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,89 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "HumReadCMMLTag.h"
+#include "MetaTagList.h"
+#include "AnchorTag.h"
+#include "ImageTag.h"
+#include "DescTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_ClipTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class ClipTag
+ : public HumReadCMMLTag
+ {
+ public:
+ ClipTag(void);
+ ClipTag(C_ClipTag* inTag);
+ virtual ~ClipTag(void);
+
+
+ //Accessors
+ String* track();
+ MetaTagList* metaList();
+ AnchorTag* anchor();
+ ImageTag* image();
+ DescTag* desc();
+
+ String* start();
+ String* end();
+
+
+ //Mutators
+ void setTrack(String* inTrack);
+ void setAnchor(AnchorTag* inAnchor);
+ void setImage(ImageTag* inImage);
+ void setDesc(DescTag* inDesc);
+
+ void setStart(String* inStart);
+ void setEnd(String* inEnd);
+
+
+ //Others
+ virtual String* toString();
+
+
+ C_ClipTag* getMe();
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTagList.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTagList.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTagList.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,70 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\cliptaglist.h"
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ ClipTagList::ClipTagList(void)
+ {
+ mBaseClass = new C_ClipTagList;
+ }
+
+ ClipTagList::ClipTagList(C_ClipTagList* inList)
+ {
+ mBaseClass = inList;
+ }
+ ClipTagList::~ClipTagList(void)
+ {
+ delete mBaseClass;
+ }
+
+
+ String* ClipTagList::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str());
+ }
+
+ void ClipTagList::addTag(ClipTag* inTag) {
+ getMe()->addTag( inTag->getMe()->clone());
+ }
+ ClipTag* ClipTagList::getTag(unsigned long inTagNo) {
+ return new ClipTag( getMe()->getTag(inTagNo));
+ }
+
+ C_ClipTagList* ClipTagList::getMe() {
+ return (C_ClipTagList*)mBaseClass;
+
+ }
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTagList.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTagList.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ClipTagList.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,66 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "ClipTag.h"
+#include "TagList.h"
+
+
+#pragma unmanaged
+#include <config.h>
+#include <C_ClipTagList.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class ClipTagList
+ : public TagList
+ {
+ public:
+ ClipTagList(void);
+ ClipTagList(C_ClipTagList* inList);
+ virtual ~ClipTagList(void);
+
+ virtual String* toString();
+
+ void addTag(ClipTag* inTag);
+ ClipTag* getTag(unsigned long inTagNo);
+ C_ClipTagList* getMe();
+
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/DescTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/DescTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/DescTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,60 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\desctag.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ DescTag::DescTag(void)
+ {
+ mBaseClass = new C_DescTag;
+ }
+
+ DescTag::~DescTag(void)
+ {
+ delete mBaseClass;
+ }
+
+ DescTag::DescTag(C_DescTag* inTag) {
+ mBaseClass = inTag;
+ }
+
+ C_DescTag* DescTag::getMe() {
+ return (C_DescTag*)mBaseClass;
+ }
+ String* DescTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+ }
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/DescTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/DescTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/DescTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,65 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "TextFieldTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_DescTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ ////Other
+ //virtual string toString();
+
+ public __gc class DescTag
+ : public TextFieldTag
+
+ {
+ public:
+ DescTag(void);
+ DescTag(C_DescTag* inTag);
+ ~DescTag(void);
+ virtual String* toString();
+
+
+ C_DescTag* getMe();
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HeadTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HeadTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HeadTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,98 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\headtag.h"
+
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ HeadTag::HeadTag(void)
+ {
+ mBaseClass = new C_HeadTag;
+ }
+
+ HeadTag::HeadTag(C_HeadTag* inTag)
+ {
+ mBaseClass = inTag;
+
+ }
+
+ HeadTag::~HeadTag(void)
+ {
+ delete mBaseClass;
+ }
+
+ String* HeadTag::profile() {
+ return Wrappers::CStrToNetStr( getMe()->profile().c_str());
+ }
+ TitleTag* HeadTag::title() {
+ return new TitleTag(getMe()->title()->clone());
+ }
+ BaseTag* HeadTag::base() {
+ return new BaseTag(getMe()->base()->clone());
+ }
+ MetaTagList* HeadTag::metaList() {
+ return new MetaTagList(getMe()->metaList()->clone());
+
+
+ }
+
+ //Mutators
+ void HeadTag::setProfile(String* inProfile) {
+ char* tc = Wrappers::netStrToCStr( inProfile );
+ getMe()->setProfile( tc );
+ Wrappers::releaseCStr( tc );
+
+ }
+ void HeadTag::setTitle(TitleTag* inTitle){
+ getMe()->setTitle(inTitle->getMe()->clone());
+ }
+ void HeadTag::setBase(BaseTag* inBase) {
+ getMe()->setBase(inBase->getMe()->clone());
+ }
+
+ //Other
+ String* HeadTag::toString() {
+
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str());
+
+
+ }
+
+ C_HeadTag* HeadTag::getMe() {
+ return (C_HeadTag*)mBaseClass;
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HeadTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HeadTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HeadTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,78 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "TitleTag.h"
+#include "BaseTag.h"
+#include "MetaTagList.h"
+#include "HumReadCMMLTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_HeadTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class HeadTag
+ : public HumReadCMMLTag
+ {
+ public:
+ HeadTag(void);
+ HeadTag(C_HeadTag* inTag);
+ virtual ~HeadTag(void);
+
+
+ //Accessors
+ String* profile();
+ TitleTag* title();
+ BaseTag* base();
+ MetaTagList* metaList();
+
+ //Mutators
+ void setProfile(String* inProfile);
+ void setTitle(TitleTag* inTitle);
+ void setBase(BaseTag* inBase);
+
+ //Other
+ virtual String* toString();
+ C_HeadTag* getMe();
+ };
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HumReadCMMLTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HumReadCMMLTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HumReadCMMLTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,72 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\humreadcmmltag.h"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ HumReadCMMLTag::HumReadCMMLTag(void)
+ {
+ //ABSTRACT
+ }
+
+ HumReadCMMLTag::~HumReadCMMLTag(void)
+ {
+ //ABSTRACT
+ }
+
+ C_HumReadCMMLTag* HumReadCMMLTag::getMe() {
+ return (C_HumReadCMMLTag*)mBaseClass;
+ }
+ //Accessors
+ String* HumReadCMMLTag::lang() {
+ return Wrappers::CStrToNetStr( getMe()->lang().c_str() );
+ }
+ String* HumReadCMMLTag::dirn() {
+ return Wrappers::CStrToNetStr( getMe()->dirn().c_str() );
+ }
+
+ //Mutators
+ void HumReadCMMLTag::setLang(String* inLang) {
+ char* tc = Wrappers::netStrToCStr( inLang );
+ getMe()->setLang( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void HumReadCMMLTag::setDirn(String* inDirn) {
+ char* tc = Wrappers::netStrToCStr( inDirn );
+ getMe()->setDirn( tc );
+ Wrappers::releaseCStr( tc );
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HumReadCMMLTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HumReadCMMLTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/HumReadCMMLTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,101 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+
+
+#include "CMMLTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_HumReadCMMLTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class HumReadCMMLTag
+ : public CMMLTag
+ {
+
+ //class CPP_LIB_CMML_API C_HumReadCMMLTag :
+ // //Derived Classes
+ // public C_CMMLTag
+ //{
+ //public:
+ // //Constructors
+ // C_HumReadCMMLTag(void);
+ // virtual ~C_HumReadCMMLTag(void);
+ //
+ // //Accessors
+ // string lang();
+ // string dirn();
+ //
+ // //Mutators
+ // void setLang(string inLang);
+ // void setDirn(string inDirn);
+ //
+ // //Other
+ // virtual string toString() = 0;
+ //
+ //protected:
+ // //Property Data
+ // string mLang;
+ // string mDirn;
+ //};
+
+ public:
+ HumReadCMMLTag(void);
+ virtual ~HumReadCMMLTag(void);
+
+ //Accessors
+ String* lang();
+ String* dirn();
+
+ //Mutators
+ void setLang(String* inLang);
+ void setDirn(String* inDirn);
+
+ //Other
+ virtual String* toString() = 0;
+
+
+ protected:
+ C_HumReadCMMLTag* getMe();
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImageTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImageTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImageTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,84 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\imagetag.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ ImageTag::ImageTag(void)
+ {
+ mBaseClass = new C_ImageTag;
+ }
+
+ ImageTag::~ImageTag(void)
+ {
+ delete mBaseClass;
+ }
+
+ ImageTag::ImageTag(C_ImageTag* inTag) {
+ mBaseClass = inTag;
+ }
+
+ //Accessors
+ String* ImageTag::src() {
+ return Wrappers::CStrToNetStr( getMe()->src().c_str() );
+ }
+ String* ImageTag::alt() {
+ return Wrappers::CStrToNetStr( getMe()->alt().c_str() );
+ }
+
+ //Mutators
+ void ImageTag::setSrc(String* inSrc) {
+ char* tc = Wrappers::netStrToCStr( inSrc );
+ getMe()->setSrc( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void ImageTag::setAlt(String* inAlt) {
+ char* tc = Wrappers::netStrToCStr( inAlt );
+ getMe()->setAlt( tc );
+ Wrappers::releaseCStr( tc );
+ }
+
+ //Other
+ String* ImageTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+ }
+
+
+ C_ImageTag* ImageTag::getMe() {
+ return (C_ImageTag*)mBaseClass;
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImageTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImageTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImageTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,74 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "HumReadCMMLTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_ImageTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class ImageTag
+ : public HumReadCMMLTag
+ {
+ public:
+ ImageTag(void);
+ ImageTag(C_ImageTag* inTag);
+ virtual ~ImageTag(void);
+
+
+ //Accessors
+ String* src();
+ String* alt();
+
+ //Mutators
+ void setSrc(String* inSrc);
+ void setAlt(String* inAlt);
+
+ //Other
+ virtual String* toString();
+
+
+ C_ImageTag* getMe();
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,124 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\importtag.h"
+
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ ImportTag::ImportTag(void)
+ {
+ mBaseClass = new C_ImportTag;
+ }
+
+ ImportTag::ImportTag(C_ImportTag* inTag)
+ {
+ mBaseClass = inTag;
+ }
+
+ ImportTag::~ImportTag(void)
+ {
+ delete mBaseClass;
+ }
+
+ //Accessors
+ String* ImportTag::granuleRate() {
+ return Wrappers::CStrToNetStr( getMe()->granuleRate().c_str() );
+ }
+ String* ImportTag::contentType() {
+ return Wrappers::CStrToNetStr( getMe()->contentType().c_str() );
+ }
+ String* ImportTag::src() {
+ return Wrappers::CStrToNetStr( getMe()->src().c_str() );
+ }
+ String* ImportTag::start() {
+ return Wrappers::CStrToNetStr( getMe()->start().c_str() );
+ }
+ String* ImportTag::end() {
+ return Wrappers::CStrToNetStr( getMe()->end().c_str() );
+ }
+ String* ImportTag::title() {
+ return Wrappers::CStrToNetStr( getMe()->title().c_str() );
+ }
+ ParamTagList* ImportTag::paramList() {
+ return new ParamTagList(getMe()->paramList()->clone());
+
+ }
+
+ //Mutators
+ void ImportTag::setGranuleRate(String* inGranuleRate) {
+ char* tc = Wrappers::netStrToCStr( inGranuleRate );
+ getMe()->setGranuleRate( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void ImportTag::setContentType(String* inContentType) {
+ char* tc = Wrappers::netStrToCStr( inContentType );
+ getMe()->setContentType( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void ImportTag::setSrc(String* inSrc) {
+ char* tc = Wrappers::netStrToCStr( inSrc );
+ getMe()->setSrc( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void ImportTag::setStart(String* inStart) {
+ char* tc = Wrappers::netStrToCStr( inStart );
+ getMe()->setStart( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void ImportTag::setEnd(String* inEnd) {
+ char* tc = Wrappers::netStrToCStr( inEnd );
+ getMe()->setEnd( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void ImportTag::setTitle(String* inTitle) {
+ char* tc = Wrappers::netStrToCStr( inTitle );
+ getMe()->setTitle( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void ImportTag::setParamList(ParamTagList* inParamList) {
+ getMe()->setParamList(inParamList->getMe()->clone());
+ }
+
+ //Other
+ String* ImportTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+
+ }
+
+ C_ImportTag* ImportTag::getMe() {
+ return (C_ImportTag*)mBaseClass;
+ }
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,83 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "HumReadCMMLTag.h"
+#include "ParamTagList.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_ImportTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class ImportTag
+ : public HumReadCMMLTag
+ {
+ public:
+ ImportTag(void);
+ ImportTag(C_ImportTag* inTag);
+ virtual ~ImportTag(void);
+
+
+ //Accessors
+ String* granuleRate();
+ String* contentType();
+ String* src();
+ String* start();
+ String* end();
+ String* title();
+ ParamTagList* paramList();
+
+ //Mutators
+ void setGranuleRate(String* inGranuleRate);
+ void setContentType(String* inContentType);
+ void setSrc(String* inSrc);
+ void setStart(String* inStart);
+ void setEnd(String* inEnd);
+ void setTitle(String* inTitle);
+ void setParamList(ParamTagList* inParamList);
+
+ //Other
+ virtual String* toString();
+ C_ImportTag* getMe();
+
+ };
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTagList.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTagList.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTagList.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,71 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\importtaglist.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ ImportTagList::ImportTagList(void)
+ {
+ mBaseClass = new C_ImportTagList;
+ }
+
+ ImportTagList::ImportTagList(C_ImportTagList* inTagList) {
+ mBaseClass = inTagList;
+ }
+ ImportTagList::~ImportTagList(void)
+ {
+ delete mBaseClass;
+ }
+
+
+ String* ImportTagList::toString() {
+ return Wrappers::CStrToNetStr (getMe()->toString().c_str() );
+ }
+
+ void ImportTagList::addTag(ImportTag* inTag) {
+ getMe()->addTag(inTag->getMe()->clone());
+
+ }
+ ImportTag* ImportTagList::getTag(unsigned long inTagNo) {
+ return new ImportTag( getMe()->getTag(inTagNo)->clone());
+ }
+
+ C_ImportTagList* ImportTagList::getMe() {
+ return (C_ImportTagList*)mBaseClass;
+ }
+
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTagList.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTagList.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ImportTagList.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,66 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "TagList.h"
+#include "ImportTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_ImportTagList.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class ImportTagList
+ : public TagList
+ {
+ public:
+ ImportTagList(void);
+ ImportTagList(C_ImportTagList* inTagList);
+ ~ImportTagList(void);
+
+ virtual String* toString();
+
+ void addTag(ImportTag* inTag);
+ ImportTag* getTag(unsigned long inTagNo);
+
+ C_ImportTagList* getMe();
+ };
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MMLRootTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MMLRootTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MMLRootTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,11 @@
+#include "StdAfx.h"
+#include ".\mmlroottag.h"
+#using <mscorlib.dll>
+
+CMMLRootTag::CMMLRootTag(void)
+{
+}
+
+CMMLRootTag::~CMMLRootTag(void)
+{
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MMLRootTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MMLRootTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MMLRootTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,8 @@
+#pragma once
+
+class CMMLRootTag
+{
+public:
+ CMMLRootTag(void);
+ ~CMMLRootTag(void);
+};
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,81 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\mappedtag.h"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ MappedTag::MappedTag(void)
+ {
+ //ABSTRACT CLASS
+ }
+
+ MappedTag::~MappedTag(void)
+ {
+ }
+
+ MappedTag::MappedTag(String* inName, String* inContent) {
+ setName(inName);
+ setContent(inContent);
+ }
+
+ C_MappedTag* MappedTag::getMe() {
+ return (C_MappedTag*)mBaseClass;
+ }
+ //Accessors
+ String* MappedTag::name() {
+ return Wrappers::CStrToNetStr( getMe()->name().c_str() );
+
+ }
+ String* MappedTag::content() {
+ return Wrappers::CStrToNetStr( getMe()->content().c_str() );
+ }
+
+ //Mutators
+ void MappedTag::setName(String* inName) {
+ char* tc = Wrappers::netStrToCStr( inName );
+ getMe()->setName( tc );
+ Wrappers::releaseCStr( tc );
+
+ }
+ void MappedTag::setContent(String* inContent) {
+ char* tc = Wrappers::netStrToCStr( inContent );
+ getMe()->setContent( tc );
+ Wrappers::releaseCStr( tc );
+ }
+
+
+
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,74 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "HumReadCMMLTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_MappedTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+
+ public __gc class MappedTag
+ : public HumReadCMMLTag
+ {
+ public:
+ MappedTag(void);
+ MappedTag(String* inName, String* inContent);
+ virtual ~MappedTag(void);
+
+ //Accessors
+ String* name();
+ String* content();
+
+ //Mutators
+ void setName(String* inName);
+ void setContent(String* inContent);
+
+ //Other
+ virtual String* toString() = 0;
+
+ C_MappedTag* getMe();
+ };
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTagList.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTagList.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTagList.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,61 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\mappedtaglist.h"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ MappedTagList::MappedTagList(void)
+ {
+ //ABSTRACT CLASS
+ }
+
+ MappedTagList::~MappedTagList(void)
+ {
+ }
+
+ unsigned long MappedTagList::numTags() {
+ return mBaseClass->numTags();
+ }
+
+ String* MappedTagList::getContent(String* inName) {
+ char* tc = Wrappers::netStrToCStr( inName );
+ String* ts = Wrappers::CStrToNetStr( mBaseClass->getContent(tc).c_str() );
+ Wrappers::releaseCStr( tc );
+ return ts;
+ }
+
+
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTagList.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTagList.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MappedTagList.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,63 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+
+#pragma unmanaged
+#include <config.h>
+#include <C_MappedTagList.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class MappedTagList
+ {
+ public:
+ MappedTagList(void);
+
+ virtual ~MappedTagList(void);
+
+ unsigned long numTags();
+
+ String* getContent(String* inName);
+
+ protected:
+ C_MappedTagList* mBaseClass;
+ };
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,75 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\metatag.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ MetaTag::MetaTag(void)
+ {
+ mBaseClass = new C_MetaTag;
+ }
+
+ MetaTag::MetaTag(C_MetaTag* inTag) {
+ mBaseClass = inTag;
+ }
+ MetaTag::~MetaTag(void)
+ {
+ delete mBaseClass;
+ }
+
+ C_MetaTag* MetaTag::getMe() {
+ return (C_MetaTag*)mBaseClass;
+ }
+
+
+ //Accessors
+ String* MetaTag::scheme() {
+ return Wrappers::CStrToNetStr( getMe()->scheme().c_str() );
+ }
+
+ //Mutators
+ void MetaTag::setScheme(String* inScheme) {
+ char* tc = Wrappers::netStrToCStr( inScheme );
+ getMe()->setScheme( tc );
+ Wrappers::releaseCStr( tc );
+ }
+
+ //Other
+ String* MetaTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,68 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "MappedTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_MetaTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class MetaTag
+ : public MappedTag
+ {
+ public:
+ MetaTag(void);
+ MetaTag(C_MetaTag* inTag);
+ virtual ~MetaTag(void);
+
+ //Accessors
+ String* scheme();
+
+ //Mutators
+ void setScheme(String* inScheme);
+
+ //Other
+ virtual String* toString();
+
+ C_MetaTag* getMe();
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTagList.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTagList.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTagList.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,102 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\metataglist.h"
+#using <mscorlib.dll>
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ MetaTagList::MetaTagList(void)
+ {
+ mBaseClass = new C_MetaTagList;
+ }
+
+ MetaTagList::MetaTagList(C_MetaTagList* inList)
+ {
+ mBaseClass = inList;
+ }
+
+ MetaTagList::~MetaTagList(void)
+ {
+ delete mBaseClass;
+ }
+
+
+ void MetaTagList::addTag(MetaTag* inTag) {
+
+ }
+ void MetaTagList::addTag(String* inName, String* inContent) {
+ char* tc1 = Wrappers::netStrToCStr( inName );
+ char* tc2 = Wrappers::netStrToCStr( inContent );
+
+ getMe()->addTag(tc1, tc2);
+
+ Wrappers::releaseCStr( tc2 );
+ Wrappers::releaseCStr( tc1 );
+ }
+ //void removeTag ???
+ unsigned long MetaTagList::numTags() {
+ return getMe()->numTags();
+
+ }
+
+ MetaTag* MetaTagList::getTag(unsigned long inTagNo) {
+ return new MetaTag(getMe()->getTag(inTagNo));
+ }
+ MetaTag* MetaTagList::getTag(String* inName) {
+ char* tc = Wrappers::netStrToCStr( inName );
+
+ MetaTag* retVal = new MetaTag(getMe()->getTag(tc));
+ Wrappers::releaseCStr( tc );
+ return retVal;
+
+ }
+
+ String* MetaTagList::getContent(String* inName) {
+ char* tc = Wrappers::netStrToCStr( inName );
+ String* ts = Wrappers::CStrToNetStr(getMe()->getContent(tc).c_str());
+ Wrappers::releaseCStr( tc );
+ return ts;
+ }
+
+ String* MetaTagList::toString() {
+ return Wrappers::CStrToNetStr(getMe()->toString().c_str());
+ }
+
+
+ C_MetaTagList* MetaTagList::getMe() {
+ return (C_MetaTagList*)mBaseClass;
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTagList.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTagList.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/MetaTagList.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,74 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "MappedTagList.h"
+#include "MetaTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_MetaTagList.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ public __gc class MetaTagList
+ : public MappedTagList
+ {
+ public:
+ MetaTagList(void);
+ MetaTagList(C_MetaTagList* inTag);
+ virtual ~MetaTagList(void);
+
+ void addTag(MetaTag* inTag);
+ void addTag(String* inName, String* inContent);
+ //void removeTag ???
+ unsigned long numTags();
+
+ MetaTag* getTag(unsigned long inTagNo);
+ MetaTag* getTag(String* inName);
+
+ String* getContent(String* inName);
+
+ String* toString();
+
+ protected:
+ C_MetaTagList* getMe();
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,60 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\paramtag.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ ParamTag::ParamTag(void)
+ {
+ mBaseClass = new C_ParamTag;
+ }
+
+ ParamTag::ParamTag(C_ParamTag* inTag) {
+ mBaseClass = inTag;
+ }
+ ParamTag::~ParamTag(void)
+ {
+ delete mBaseClass;
+ }
+
+ C_ParamTag* ParamTag::getMe() {
+ return (C_ParamTag*)mBaseClass;
+ }
+
+ String* ParamTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+ }
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,65 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "MappedTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_ParamTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class ParamTag
+ : public MappedTag
+ {
+ public:
+ ParamTag(void);
+ ParamTag(C_ParamTag* inTag);
+ virtual ~ParamTag(void);
+
+ //Other
+ String* toString();
+
+
+ C_ParamTag* getMe();
+
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTagList.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTagList.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTagList.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,74 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\paramtaglist.h"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ ParamTagList::ParamTagList(void)
+ {
+ mBaseClass = new C_ParamTagList;
+ }
+
+ ParamTagList::ParamTagList(C_ParamTagList* inTagList) {
+ mBaseClass = inTagList;
+
+ }
+
+ ParamTagList::~ParamTagList(void)
+ {
+ delete mBaseClass;
+ }
+ //Accessors
+ ParamTag* ParamTagList::getTag(unsigned long inTagNo) {
+ return new ParamTag(getMe()->getTag(inTagNo)->clone());
+ }
+
+ //Mutators
+ void ParamTagList::addTag(ParamTag* inTag) {
+ getMe()->addTag(inTag->getMe()->clone());
+ }
+
+ //Other
+ String* ParamTagList::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+ }
+
+
+ C_ParamTagList* ParamTagList::getMe() {
+ return (C_ParamTagList*)mBaseClass;
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTagList.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTagList.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ParamTagList.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,71 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "MappedTagList.h"
+#include "ParamTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_ParamTagList.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class ParamTagList
+ : public MappedTagList
+ {
+ public:
+ ParamTagList(void);
+ ParamTagList(C_ParamTagList* inTagList);
+ virtual ~ParamTagList(void);
+
+ //Accessors
+ ParamTag* getTag(unsigned long inTagNo);
+
+ //Mutators
+ void addTag(ParamTag* inTag);
+
+ //Other
+ virtual String* toString();
+
+
+ C_ParamTagList* getMe();
+
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ReadMe.txt
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ReadMe.txt 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/ReadMe.txt 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,31 @@
+========================================================================
+ DYNAMIC LINK LIBRARY : dotnet_cmml Project Overview
+========================================================================
+
+AppWizard has created this dotnet_cmml DLL for you.
+
+This file contains a summary of what you will find in each of the files that
+make up your dotnet_cmml application.
+
+dotnet_cmml.vcproj
+ This is the main project file for VC++ projects generated using an Application Wizard.
+ It contains information about the version of Visual C++ that generated the file, and
+ information about the platforms, configurations, and project features selected with the
+ Application Wizard.
+
+dotnet_cmml.cpp
+ This is the main DLL source file.
+
+dotnet_cmml.h
+ This file contains a class declaration.
+
+AssemblyInfo.cpp
+ Contains custom attributes for modifying assembly metadata.
+
+/////////////////////////////////////////////////////////////////////////////
+Other notes:
+
+AppWizard uses "TODO:" to indicate parts of the source code you
+should add to or customize.
+
+/////////////////////////////////////////////////////////////////////////////
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/Stdafx.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/Stdafx.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/Stdafx.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,36 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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.
+*/
+// stdafx.cpp : source file that includes just the standard includes
+// dotnet_cmml.pch will be the pre-compiled header
+// stdafx.obj will contain the pre-compiled type information
+
+#include "stdafx.h"
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/Stdafx.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/Stdafx.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/Stdafx.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,41 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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.
+*/
+
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently,
+// but are changed infrequently
+
+#pragma once
+#pragma warning(disable : 4251)
+#using <mscorlib.dll>
+
+
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/StreamTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/StreamTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/StreamTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,94 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\streamtag.h"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ StreamTag::StreamTag(void)
+ {
+ mBaseClass = new C_StreamTag;
+ }
+
+ StreamTag::StreamTag(C_StreamTag* inTag)
+ {
+
+ mBaseClass = inTag;
+ }
+
+ StreamTag::~StreamTag(void)
+ {
+ delete mBaseClass;
+ }
+
+ //Accessors
+ String* StreamTag::timebase() {
+ return Wrappers::CStrToNetStr( getMe()->timebase().c_str() );
+ }
+ String* StreamTag::utc() {
+ return Wrappers::CStrToNetStr( getMe()->utc().c_str() );
+ }
+ ImportTagList* StreamTag::importList() {
+ return new ImportTagList( getMe()->importList()->clone());
+
+ }
+
+ //Mutators
+ void StreamTag::setTimebase(String* inTimebase) {
+ char* tc = Wrappers::netStrToCStr( inTimebase );
+ getMe()->setTimebase( tc );
+ Wrappers::releaseCStr( tc );
+
+ }
+ void StreamTag::setUtc(String* inUtc) {
+ char* tc = Wrappers::netStrToCStr( inUtc );
+ getMe()->setUtc( tc );
+ Wrappers::releaseCStr( tc );
+ }
+ void StreamTag::setImportList(ImportTagList* inTagList) {
+ getMe()->setImportList(inTagList->getMe()->clone());
+ }
+
+ //Other
+ String* StreamTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str());
+
+ }
+ C_StreamTag* StreamTag::getMe() {
+ return (C_StreamTag*) mBaseClass;
+
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/StreamTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/StreamTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/StreamTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,75 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "TagList.h"
+#include "ImportTagList.h"
+#include "CMMLTag.h"
+
+
+#pragma unmanaged
+#include <config.h>
+#include <C_StreamTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class StreamTag
+ : public CMMLTag
+ {
+ public:
+ StreamTag(void);
+ StreamTag(C_StreamTag* inTag);
+ virtual ~StreamTag(void);
+
+ //Accessors
+ String* timebase();
+ String* utc();
+ ImportTagList* importList();
+
+ //Mutators
+ void setTimebase(String* inTimebase);
+ void setUtc(String* inUtc);
+ void setImportList(ImportTagList* inTagList);
+
+ //Other
+ virtual String* toString();
+ C_StreamTag* getMe();
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TagList.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TagList.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TagList.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,56 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\taglist.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ TagList::TagList(void)
+ {
+ //ABSTRACT CLASS
+ }
+
+ TagList::~TagList(void)
+ {
+ }
+
+ //Accessors
+ unsigned long TagList::numTags() {
+ return mBaseClass->numTags();
+ }
+
+
+}
+}
\ No newline at end of file
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TagList.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TagList.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TagList.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,64 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+
+
+#pragma unmanaged
+#include <config.h>
+#include <C_TagList.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class TagList
+ {
+ public:
+ TagList(void);
+ virtual ~TagList(void);
+
+ //Accessors
+ unsigned long numTags();
+
+ //Other
+ virtual String* toString() = 0;
+
+ protected:
+ C_TagList* mBaseClass;
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TextFieldTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TextFieldTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TextFieldTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,62 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\textfieldtag.h"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ TextFieldTag::TextFieldTag(void)
+ {
+ }
+
+ TextFieldTag::~TextFieldTag(void)
+ {
+ }
+
+ C_TextFieldTag* TextFieldTag::getMe() {
+ return (C_TextFieldTag*)mBaseClass;
+ }
+
+ //Accessors
+ String* TextFieldTag::text() {
+ return Wrappers::CStrToNetStr( getMe()->text().c_str() );
+ }
+
+ //Mutators
+ void TextFieldTag::setText(String* inText) {
+ char* tc = Wrappers::netStrToCStr( inText );
+ getMe()->setText( tc );
+ Wrappers::releaseCStr( tc );
+ }
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TextFieldTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TextFieldTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TextFieldTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,89 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "HumReadCMMLTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_TextFieldTag.h>
+#pragma managed
+
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+ //class CPP_LIB_CMML_API C_TextFieldTag
+ // //Derived Classes
+ // : public C_HumReadCMMLTag
+ //{
+ //public:
+ // //Constructors
+ // C_TextFieldTag(void);
+ // virtual ~C_TextFieldTag(void);
+ //
+ // //Accessors
+ // string text();
+ //
+ // //Mutators
+ // void setText(string inText);
+ //
+ // //Other
+ // virtual string toString() = 0;
+
+ public __gc class TextFieldTag
+ : public HumReadCMMLTag
+ {
+ public:
+ TextFieldTag(void);
+ virtual ~TextFieldTag(void);
+
+ //Accessors
+ String* text();
+
+ //Mutators
+ void setText(String* inText);
+
+ //Other
+ virtual String* toString() = 0;
+
+
+ C_TextFieldTag* getMe();
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TitleTag.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TitleTag.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TitleTag.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,63 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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 ".\titletag.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ TitleTag::TitleTag(void)
+ {
+ mBaseClass = new C_TitleTag;
+ }
+
+ TitleTag::TitleTag(C_TitleTag* inTag)
+ {
+ mBaseClass = inTag;
+ }
+
+
+ TitleTag::~TitleTag(void)
+ {
+ delete mBaseClass;
+ }
+ String* TitleTag::toString() {
+ return Wrappers::CStrToNetStr( getMe()->toString().c_str() );
+ }
+
+ C_TitleTag* TitleTag::getMe() {
+ return (C_TitleTag*)mBaseClass;
+ }
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TitleTag.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TitleTag.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/TitleTag.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,65 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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
+
+
+#pragma managed
+
+using namespace System;
+#using "libiWrapper.dll"
+using namespace illiminable::libiWrapper;
+
+#include "TextFieldTag.h"
+
+#pragma unmanaged
+#include <config.h>
+#include <C_TitleTag.h>
+#pragma managed
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+ public __gc class TitleTag
+ : public TextFieldTag
+ {
+ public:
+ TitleTag(void);
+ TitleTag(C_TitleTag* inTag);
+ virtual ~TitleTag(void);
+ //Other
+ virtual String* toString();
+
+ C_TitleTag* getMe();
+
+ };
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.aps
===================================================================
(Binary files differ)
Property changes on: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.aps
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.ico
===================================================================
(Binary files differ)
Property changes on: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.rc
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.rc 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/app.rc 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,52 @@
+// Microsoft Visual C++ generated resource script.
+//
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon placed first or with lowest ID value becomes application icon
+
+LANGUAGE 9, 1
+#pragma code_page(1252)
+1 ICON "app.ico"
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
+
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.cpp 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.cpp 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,42 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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.
+*/
+// This is the main DLL file.
+
+#include "stdafx.h"
+
+#include "libCMMLTagsDotNET.h"
+
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,44 @@
+/*
+ Copyright (C) 2003 Commonwealth Scientific and Industrial Research
+ Organisation (CSIRO) Australia
+
+ 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 CSIRO Australia nor the names of its
+ 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
+#pragma managed
+using namespace System;
+#using "libiWrapper.dll"
+
+namespace CSIRO {
+namespace libCMMLTagsDotNET {
+
+
+}
+}
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.vcproj
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.vcproj 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/libCMMLTagsDotNET.vcproj 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,274 @@
+<?xml version="1.0" encoding = "Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.00"
+ Name="libCMMLTagsDotNET"
+ ProjectGUID="{9B83D147-AFE7-46EF-A3FF-EBEC65F00BA6}"
+ Keyword="ManagedCProj">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="Debug"
+ IntermediateDirectory="Debug"
+ ConfigurationType="2"
+ CharacterSet="2"
+ ManagedExtensions="TRUE">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="..\..\..\helper\libiWrapper;..\libCMMLTags"
+ AdditionalUsingDirectories="..\..\..\helper\libiWrapper\Debug"
+ PreprocessorDefinitions="WIN32;_DEBUG"
+ MinimalRebuild="FALSE"
+ BasicRuntimeChecks="0"
+ RuntimeLibrary="3"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ CallingConvention="2"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/libCMMLTagsDotNET.dll"
+ LinkIncremental="2"
+ GenerateDebugInformation="TRUE"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release"
+ ConfigurationType="2"
+ CharacterSet="2"
+ ManagedExtensions="TRUE">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ AdditionalIncludeDirectories="..\..\..\helper\libiWrapper;..\libCMMLTags"
+ AdditionalUsingDirectories="..\..\..\helper\libiWrapper\Release"
+ PreprocessorDefinitions="WIN32;NDEBUG"
+ MinimalRebuild="FALSE"
+ WarningLevel="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/libCMMLTagsDotNET.dll"
+ LinkIncremental="1"
+ GenerateDebugInformation="TRUE"/>
+ <Tool
+ Name="VCMIDLTool"/>
+ <Tool
+ Name="VCPostBuildEventTool"/>
+ <Tool
+ Name="VCPreBuildEventTool"/>
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ </Configuration>
+ </Configurations>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
+ <File
+ RelativePath="AnchorTag.cpp">
+ </File>
+ <File
+ RelativePath="AssemblyInfo.cpp">
+ </File>
+ <File
+ RelativePath="BaseTag.cpp">
+ </File>
+ <File
+ RelativePath="CMMLDoc.cpp">
+ </File>
+ <File
+ RelativePath="CMMLPreamble.cpp">
+ </File>
+ <File
+ RelativePath="CMMLRootTag.cpp">
+ </File>
+ <File
+ RelativePath="CMMLTag.cpp">
+ </File>
+ <File
+ RelativePath="ClipTag.cpp">
+ </File>
+ <File
+ RelativePath="ClipTagList.cpp">
+ </File>
+ <File
+ RelativePath="DescTag.cpp">
+ </File>
+ <File
+ RelativePath="HeadTag.cpp">
+ </File>
+ <File
+ RelativePath="HumReadCMMLTag.cpp">
+ </File>
+ <File
+ RelativePath="ImageTag.cpp">
+ </File>
+ <File
+ RelativePath="ImportTag.cpp">
+ </File>
+ <File
+ RelativePath="ImportTagList.cpp">
+ </File>
+ <File
+ RelativePath="MappedTag.cpp">
+ </File>
+ <File
+ RelativePath="MappedTagList.cpp">
+ </File>
+ <File
+ RelativePath="MetaTag.cpp">
+ </File>
+ <File
+ RelativePath="MetaTagList.cpp">
+ </File>
+ <File
+ RelativePath="ParamTag.cpp">
+ </File>
+ <File
+ RelativePath="ParamTagList.cpp">
+ </File>
+ <File
+ RelativePath="Stdafx.cpp">
+ </File>
+ <File
+ RelativePath="StreamTag.cpp">
+ </File>
+ <File
+ RelativePath="TagList.cpp">
+ </File>
+ <File
+ RelativePath="TextFieldTag.cpp">
+ </File>
+ <File
+ RelativePath="TitleTag.cpp">
+ </File>
+ <File
+ RelativePath="libCMMLTagsDotNET.cpp">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc">
+ <File
+ RelativePath="AnchorTag.h">
+ </File>
+ <File
+ RelativePath="BaseTag.h">
+ </File>
+ <File
+ RelativePath="CMMLDoc.h">
+ </File>
+ <File
+ RelativePath="CMMLPreamble.h">
+ </File>
+ <File
+ RelativePath="CMMLRootTag.h">
+ </File>
+ <File
+ RelativePath="CMMLTag.h">
+ </File>
+ <File
+ RelativePath="ClipTag.h">
+ </File>
+ <File
+ RelativePath="ClipTagList.h">
+ </File>
+ <File
+ RelativePath="DescTag.h">
+ </File>
+ <File
+ RelativePath="HeadTag.h">
+ </File>
+ <File
+ RelativePath="HumReadCMMLTag.h">
+ </File>
+ <File
+ RelativePath="ImageTag.h">
+ </File>
+ <File
+ RelativePath="ImportTag.h">
+ </File>
+ <File
+ RelativePath="ImportTagList.h">
+ </File>
+ <File
+ RelativePath="MappedTag.h">
+ </File>
+ <File
+ RelativePath="MappedTagList.h">
+ </File>
+ <File
+ RelativePath="MetaTag.h">
+ </File>
+ <File
+ RelativePath="MetaTagList.h">
+ </File>
+ <File
+ RelativePath="ParamTag.h">
+ </File>
+ <File
+ RelativePath="ParamTagList.h">
+ </File>
+ <File
+ RelativePath="Stdafx.h">
+ </File>
+ <File
+ RelativePath="StreamTag.h">
+ </File>
+ <File
+ RelativePath="TagList.h">
+ </File>
+ <File
+ RelativePath="TextFieldTag.h">
+ </File>
+ <File
+ RelativePath="TitleTag.h">
+ </File>
+ <File
+ RelativePath="libCMMLTagsDotNET.h">
+ </File>
+ <File
+ RelativePath="resource.h">
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r">
+ <File
+ RelativePath="app.rc">
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
Added: trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/resource.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/resource.h 2004-07-10 16:54:49 UTC (rev 7083)
+++ trunk/oggdsf/src/lib/codecs/cmml/libCMMLTagsDotNET/resource.h 2004-07-10 19:52:05 UTC (rev 7084)
@@ -0,0 +1,3 @@
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by app.rc
More information about the commits
mailing list