IPDL/Five minute example: Difference between revisions

m
no edit summary
mNo edit summary
Line 1: Line 1:
This page walks you through the steps of creating an IPDL protocol and writing the C++ code that implements the required interfaces.  It is intended to be a practical complement to the more abstract [[IPDL/Getting started guide]].
This page walks you through the steps of creating an IPDL protocol and writing the C++ code that implements the required interfaces.  It is intended to be a practical complement to the more abstract [[IPDL/Getting started]] guide.


== Broadly understand IPDL's C++ environment ==
== Broadly understand IPDL's C++ environment ==
Line 19: Line 19:
(No, this isn't the traditional "Hello, world" example.  IPDL lacks facilities for printing.  I'm taking some poetic license.)
(No, this isn't the traditional "Hello, world" example.  IPDL lacks facilities for printing.  I'm taking some poetic license.)


You should be familiar with the following IPDL specification.  If not, you should re-read the [[IPDL/Getting started guide]].  Copy the code into <code>ipc/test-harness/Test.ipdl</code>.
You should be familiar with the following IPDL specification.  If not, you should re-read the [[IPDL/Getting started]] guide.  Copy the code into <code>ipc/test-harness/Test.ipdl</code>.


  namespace mozilla {
  namespace mozilla {
Confirmed users
699

edits