libmatroska: give access to the SetParent to KaxSimpleBlock as well
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@336 a6f86f6d-0131-4f8e-9e7b-e335508773d5
This commit is contained in:
parent
b4cdac7827
commit
0f82b00c63
@ -2,7 +2,7 @@ Include "*/*.proj"
|
|||||||
|
|
||||||
LIB matroska
|
LIB matroska
|
||||||
{
|
{
|
||||||
PROJECT_VERSION 1.0.0
|
PROJECT_VERSION 1.1.0
|
||||||
|
|
||||||
INCLUDE .
|
INCLUDE .
|
||||||
EXPINCLUDE .
|
EXPINCLUDE .
|
||||||
|
@ -288,6 +288,7 @@ class MATROSKA_DLL_API KaxSimpleBlock : public KaxInternalBlock {
|
|||||||
bool IsDiscardable() const { return bIsDiscardable; }
|
bool IsDiscardable() const { return bIsDiscardable; }
|
||||||
|
|
||||||
operator KaxInternalBlock &() { return *this; }
|
operator KaxInternalBlock &() { return *this; }
|
||||||
|
void SetParent(KaxCluster & aParentCluster);
|
||||||
|
|
||||||
EBML_CONCRETE_CLASS(KaxSimpleBlock)
|
EBML_CONCRETE_CLASS(KaxSimpleBlock)
|
||||||
};
|
};
|
||||||
|
@ -900,6 +900,10 @@ void KaxBlockGroup::SetParent(KaxCluster & aParentCluster) {
|
|||||||
theBlock.SetParent( aParentCluster );
|
theBlock.SetParent( aParentCluster );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void KaxSimpleBlock::SetParent(KaxCluster & aParentCluster) {
|
||||||
|
KaxInternalBlock::SetParent( aParentCluster );
|
||||||
|
}
|
||||||
|
|
||||||
void KaxInternalBlock::SetParent(KaxCluster & aParentCluster)
|
void KaxInternalBlock::SetParent(KaxCluster & aParentCluster)
|
||||||
{
|
{
|
||||||
ParentCluster = &aParentCluster;
|
ParentCluster = &aParentCluster;
|
||||||
|
Loading…
Reference in New Issue
Block a user