title: PNACL: C++ style implementation of ppapi_simple?
body: <p>I need to work in ppapi_simple implementation in C++ because I need the code to work in background thread.</p>
  
  <p><code>ps.h</code> file in NACL sdk explains:</p>
  
  <blockquote>
    <p>For C++ style development, use the ppapi_simple_instance.h,
    ppapi_simple_instance_2d.h, and ppapi_simple_instance_3d.h headers as
    a base class, and overload the appropriate virtual functions such as
    Main, ChangeContext, or Render.</p>
  </blockquote>
  
  <p>I cannot find the <code>ppapi_simple_instance.h</code>, <code>ppapi_simple_instance2d.h</code> and <code>ppapi_simple_3d.h</code> as suggested in ps.h? </p>
  
  <p>Moreover, where can I find examples to understand and implement this concept? Is there a ppapi_simple video_decode example available?</p>
  
  <p>In <a href="https://stackoverflow.com/questions/34610191/ffmpeg-nacl-module-avformat-open-input-on-rtsp-stream-returns-5-i-o-error">this question</a> it is suggested to use <code>avformat_open_input</code> in background thread OR use <code>ppapi_simple</code>. Using new thread does not solve it and there are no C++ style header files as mentioned in <code>ps.h</code></p>