LCOV - code coverage report
Current view: directory - objdir/ipc/ipdl/_ipdlheaders/mozilla/layers - PLayer.h (source / functions) Found Hit Coverage
Test: app.info Lines: 12 0 0.0 %
Date: 2012-06-02 Functions: 4 0 0.0 %

       1                 : //
       2                 : // Automatically generated by ipdlc.
       3                 : // Edit at your own risk
       4                 : //
       5                 : 
       6                 : #ifndef PLayer_h
       7                 : #define PLayer_h
       8                 : 
       9                 : #include "mozilla/Attributes.h"
      10                 : #include "base/basictypes.h"
      11                 : #include "prtime.h"
      12                 : #include "nscore.h"
      13                 : #include "IPCMessageStart.h"
      14                 : #include "IPC/IPCMessageUtils.h"
      15                 : #include "nsAutoPtr.h"
      16                 : #include "nsStringGlue.h"
      17                 : #include "nsTArray.h"
      18                 : #include "nsIFile.h"
      19                 : #include "mozilla/ipc/ProtocolUtils.h"
      20                 : 
      21                 : //-----------------------------------------------------------------------------
      22                 : // Code common to PLayerChild and PLayerParent
      23                 : //
      24                 : namespace mozilla {
      25                 : namespace layers {
      26                 : namespace PLayer {
      27                 : 
      28                 : enum State {
      29                 :     __Dead,
      30                 :     __Null,
      31                 :     __Error,
      32                 :     __Start = __Null
      33                 : };
      34                 : 
      35                 : enum MessageType {
      36                 :     PLayerStart = PLayerMsgStart << 16,
      37                 :     PLayerPreStart = (PLayerMsgStart << 16) - 1,
      38                 :     Msg___delete____ID,
      39                 :     Reply___delete____ID,
      40                 :     PLayerEnd
      41                 : };
      42                 : 
      43                 : bool
      44                 : Transition(
      45                 :         State from,
      46                 :         mozilla::ipc::Trigger trigger,
      47                 :         State* next);
      48                 : 
      49                 : class Msg___delete__ :
      50                 :     public IPC::Message
      51               0 : {
      52                 : private:
      53                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
      54                 :     typedef mozilla::ipc::Shmem Shmem;
      55                 : 
      56                 : public:
      57                 :     enum {
      58                 :         ID = Msg___delete____ID
      59                 :     };
      60               0 :     Msg___delete__() :
      61               0 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PLayer::Msg___delete__")
      62                 :     {
      63               0 :     }
      64                 : 
      65                 :     void
      66               0 :     Log(
      67                 :             const std::string& __pfx,
      68                 :             FILE* __outf) const
      69                 :     {
      70               0 :         std::string __logmsg;
      71               0 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
      72               0 :         (__logmsg).append(__pfx);
      73               0 :         (__logmsg).append("Msg___delete__(");
      74                 : 
      75               0 :         (__logmsg).append("[TODO])\n");
      76               0 :         fputs((__logmsg).c_str(), __outf);
      77               0 :     }
      78                 : };
      79                 : 
      80                 : class Reply___delete__ :
      81                 :     public IPC::Message
      82                 : {
      83                 : private:
      84                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
      85                 :     typedef mozilla::ipc::Shmem Shmem;
      86                 : 
      87                 : public:
      88                 :     enum {
      89                 :         ID = Reply___delete____ID
      90                 :     };
      91                 :     Reply___delete__() :
      92                 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PLayer::Reply___delete__")
      93                 :     {
      94                 :     }
      95                 : 
      96                 :     void
      97                 :     Log(
      98                 :             const std::string& __pfx,
      99                 :             FILE* __outf) const
     100                 :     {
     101                 :         std::string __logmsg;
     102                 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
     103                 :         (__logmsg).append(__pfx);
     104                 :         (__logmsg).append("Reply___delete__(");
     105                 : 
     106                 :         (__logmsg).append("[TODO])\n");
     107                 :         fputs((__logmsg).c_str(), __outf);
     108                 :     }
     109                 : };
     110                 : 
     111                 : 
     112                 : 
     113                 : } // namespace PLayer
     114                 : } // namespace layers
     115                 : } // namespace mozilla
     116                 : 
     117                 : #endif // ifndef PLayer_h

Generated by: LCOV version 1.7