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

       1                 : //
       2                 : // Automatically generated by ipdlc.
       3                 : // Edit at your own risk
       4                 : //
       5                 : 
       6                 : #ifndef PStreamNotify_h
       7                 : #define PStreamNotify_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                 : #include "npapi.h"
      21                 : 
      22                 : //-----------------------------------------------------------------------------
      23                 : // Code common to PStreamNotifyChild and PStreamNotifyParent
      24                 : //
      25                 : namespace mozilla {
      26                 : namespace plugins {
      27                 : namespace PStreamNotify {
      28                 : 
      29                 : enum State {
      30                 :     __Dead,
      31                 :     __Null,
      32                 :     __Error,
      33                 :     __Start = __Null
      34                 : };
      35                 : 
      36                 : enum MessageType {
      37                 :     PStreamNotifyStart = PStreamNotifyMsgStart << 16,
      38                 :     PStreamNotifyPreStart = (PStreamNotifyMsgStart << 16) - 1,
      39                 :     Msg_RedirectNotifyResponse__ID,
      40                 :     Msg_RedirectNotify__ID,
      41                 :     Msg___delete____ID,
      42                 :     Reply___delete____ID,
      43                 :     PStreamNotifyEnd
      44                 : };
      45                 : 
      46                 : bool
      47                 : Transition(
      48                 :         State from,
      49                 :         mozilla::ipc::Trigger trigger,
      50                 :         State* next);
      51                 : 
      52                 : class Msg_RedirectNotifyResponse :
      53                 :     public IPC::Message
      54               0 : {
      55                 : private:
      56                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
      57                 :     typedef mozilla::ipc::Shmem Shmem;
      58                 : 
      59                 : public:
      60                 :     enum {
      61                 :         ID = Msg_RedirectNotifyResponse__ID
      62                 :     };
      63               0 :     Msg_RedirectNotifyResponse() :
      64               0 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PStreamNotify::Msg_RedirectNotifyResponse")
      65                 :     {
      66               0 :     }
      67                 : 
      68                 :     void
      69               0 :     Log(
      70                 :             const std::string& __pfx,
      71                 :             FILE* __outf) const
      72                 :     {
      73               0 :         std::string __logmsg;
      74               0 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
      75               0 :         (__logmsg).append(__pfx);
      76               0 :         (__logmsg).append("Msg_RedirectNotifyResponse(");
      77                 : 
      78               0 :         (__logmsg).append("[TODO])\n");
      79               0 :         fputs((__logmsg).c_str(), __outf);
      80               0 :     }
      81                 : };
      82                 : 
      83                 : class Msg_RedirectNotify :
      84                 :     public IPC::Message
      85               0 : {
      86                 : private:
      87                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
      88                 :     typedef mozilla::ipc::Shmem Shmem;
      89                 : 
      90                 : public:
      91                 :     enum {
      92                 :         ID = Msg_RedirectNotify__ID
      93                 :     };
      94               0 :     Msg_RedirectNotify() :
      95               0 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PStreamNotify::Msg_RedirectNotify")
      96                 :     {
      97               0 :     }
      98                 : 
      99                 :     void
     100               0 :     Log(
     101                 :             const std::string& __pfx,
     102                 :             FILE* __outf) const
     103                 :     {
     104               0 :         std::string __logmsg;
     105               0 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
     106               0 :         (__logmsg).append(__pfx);
     107               0 :         (__logmsg).append("Msg_RedirectNotify(");
     108                 : 
     109               0 :         (__logmsg).append("[TODO])\n");
     110               0 :         fputs((__logmsg).c_str(), __outf);
     111               0 :     }
     112                 : };
     113                 : 
     114                 : class Msg___delete__ :
     115                 :     public IPC::Message
     116               0 : {
     117                 : private:
     118                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
     119                 :     typedef mozilla::ipc::Shmem Shmem;
     120                 : 
     121                 : public:
     122                 :     enum {
     123                 :         ID = Msg___delete____ID
     124                 :     };
     125               0 :     Msg___delete__() :
     126               0 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PStreamNotify::Msg___delete__")
     127                 :     {
     128               0 :     }
     129                 : 
     130                 :     void
     131               0 :     Log(
     132                 :             const std::string& __pfx,
     133                 :             FILE* __outf) const
     134                 :     {
     135               0 :         std::string __logmsg;
     136               0 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
     137               0 :         (__logmsg).append(__pfx);
     138               0 :         (__logmsg).append("Msg___delete__(");
     139                 : 
     140               0 :         (__logmsg).append("[TODO])\n");
     141               0 :         fputs((__logmsg).c_str(), __outf);
     142               0 :     }
     143                 : };
     144                 : 
     145                 : class Reply___delete__ :
     146                 :     public IPC::Message
     147                 : {
     148                 : private:
     149                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
     150                 :     typedef mozilla::ipc::Shmem Shmem;
     151                 : 
     152                 : public:
     153                 :     enum {
     154                 :         ID = Reply___delete____ID
     155                 :     };
     156                 :     Reply___delete__() :
     157                 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PStreamNotify::Reply___delete__")
     158                 :     {
     159                 :     }
     160                 : 
     161                 :     void
     162                 :     Log(
     163                 :             const std::string& __pfx,
     164                 :             FILE* __outf) const
     165                 :     {
     166                 :         std::string __logmsg;
     167                 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
     168                 :         (__logmsg).append(__pfx);
     169                 :         (__logmsg).append("Reply___delete__(");
     170                 : 
     171                 :         (__logmsg).append("[TODO])\n");
     172                 :         fputs((__logmsg).c_str(), __outf);
     173                 :     }
     174                 : };
     175                 : 
     176                 : 
     177                 : 
     178                 : } // namespace PStreamNotify
     179                 : } // namespace plugins
     180                 : } // namespace mozilla
     181                 : 
     182                 : #endif // ifndef PStreamNotify_h

Generated by: LCOV version 1.7