Home | History | Annotate | Download | only in dom
      1 /*
      2 * Copyright 2006 Sony Computer Entertainment Inc.
      3 *
      4 * Licensed under the MIT Open Source License, for details please see license.txt or the website
      5 * http://www.opensource.org/licenses/mit-license.php
      6 *
      7 */
      8 
      9 #include <dae.h>
     10 #include <dae/daeDom.h>
     11 #include <dom/domGl_hook_abstract.h>
     12 #include <dae/daeMetaCMPolicy.h>
     13 #include <dae/daeMetaSequence.h>
     14 #include <dae/daeMetaChoice.h>
     15 #include <dae/daeMetaGroup.h>
     16 #include <dae/daeMetaAny.h>
     17 #include <dae/daeMetaElementAttribute.h>
     18 
     19 daeElementRef
     20 domGl_hook_abstract::create(DAE& dae)
     21 {
     22 	domGl_hook_abstractRef ref = new domGl_hook_abstract(dae);
     23 	return ref;
     24 }
     25 
     26 
     27 daeMetaElement *
     28 domGl_hook_abstract::registerElement(DAE& dae)
     29 {
     30 	daeMetaElement* meta = dae.getMeta(ID());
     31 	if ( meta != NULL ) return meta;
     32 
     33 	meta = new daeMetaElement(dae);
     34 	dae.setMeta(ID(), *meta);
     35 	meta->setName( "gl_hook_abstract" );
     36 	meta->registerClass(domGl_hook_abstract::create);
     37 
     38 	meta->setIsAbstract( true );
     39 
     40 	meta->setElementSize(sizeof(domGl_hook_abstract));
     41 	meta->validate();
     42 
     43 	return meta;
     44 }
     45 
     46