Mercurial > projects > dbus-d
comparison dbus-d/dsrc/org/freedesktop/dbus/tool/CreateInterface.d @ 6:963d271f7c25
disabled event stuff, to have working example
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 28 Oct 2007 19:35:38 +0100 |
parents | 7c2c75740370 |
children | 198c379caaa7 |
comparison
equal
deleted
inserted
replaced
5:7c2c75740370 | 6:963d271f7c25 |
---|---|
674 writeInterfaceMethod( p, meth, indent+1 ); | 674 writeInterfaceMethod( p, meth, indent+1 ); |
675 } | 675 } |
676 foreach( sign; intf.mSignals ){ | 676 foreach( sign; intf.mSignals ){ |
677 writeInterfaceSignal( p, sign, indent+1 ); | 677 writeInterfaceSignal( p, sign, indent+1 ); |
678 } | 678 } |
679 /+ | |
679 p.formatln( "{}template _StdJavaImpl(){{", getIndent(indent+1) ); | 680 p.formatln( "{}template _StdJavaImpl(){{", getIndent(indent+1) ); |
680 p.formatln( "{}}", getIndent(indent+1) ); | 681 p.formatln( "{}}", getIndent(indent+1) ); |
681 p.formatln( "{}template _StdDImpl(){{", getIndent(indent+1) ); | 682 p.formatln( "{}template _StdDImpl(){{", getIndent(indent+1) ); |
682 p.formatln( "{}void _init(){{", getIndent(indent+2) ); | 683 p.formatln( "{}void _init(){{", getIndent(indent+2) ); |
683 p.formatln( "{}}", getIndent(indent+2) ); | 684 p.formatln( "{}}", getIndent(indent+2) ); |
684 foreach( sign; intf.mSignals ){ | 685 foreach( sign; intf.mSignals ){ |
685 writeInterfaceSignalDImpl( p, sign, indent+2 ); | 686 writeInterfaceSignalDImpl( p, sign, indent+2 ); |
686 } | 687 } |
687 p.formatln( "{}}", getIndent(indent+1) ); | 688 p.formatln( "{}}", getIndent(indent+1) ); |
689 +/ | |
688 } | 690 } |
689 foreach( child; intfTree.getChildNames( name ) ){ | 691 foreach( child; intfTree.getChildNames( name ) ){ |
690 writeInterface( p, child, indent +1 ); | 692 writeInterface( p, child, indent +1 ); |
691 } | 693 } |
692 p.formatln( "{}}", getIndent(indent) ); | 694 p.formatln( "{}}", getIndent(indent) ); |