Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Examples

These examples illustrate typical use of the IDL compiler.

The following command compiles foo.idl to the C/C++ header file foo.h, and bar.idl to the C/C++ header file bar.h. No remoting code is generated.

qidlc --header-only foo.idl bar.idl

The following command compiles foo.idl to the CIF file foo.cif.

qidlc --cif-only foo.idl bar.idl

The following command compiles foo.idl to a combined C/C++ header file foo.h.

qidlc foo.idl

The following is the remoting code.

foo_stub.h C stub header 
foo_stub.c C stub implementation
foo_skel.h C skeleton header 
foo_skel.c C skeleton implementation