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

       1                 : //
       2                 : // Automatically generated by ipdlc.
       3                 : // Edit at your own risk
       4                 : //
       5                 : 
       6                 : #ifndef PPluginIdentifier_h
       7                 : #define PPluginIdentifier_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 PPluginIdentifierChild and PPluginIdentifierParent
      23                 : //
      24                 : namespace mozilla {
      25                 : namespace plugins {
      26                 : namespace PPluginIdentifier {
      27                 : 
      28                 : enum State {
      29                 :     __Dead,
      30                 :     __Null,
      31                 :     __Error,
      32                 :     __Start = __Null
      33                 : };
      34                 : 
      35                 : enum MessageType {
      36                 :     PPluginIdentifierStart = PPluginIdentifierMsgStart << 16,
      37                 :     PPluginIdentifierPreStart = (PPluginIdentifierMsgStart << 16) - 1,
      38                 :     Msg_Retain__ID,
      39                 :     Msg___delete____ID,
      40                 :     Reply___delete____ID,
      41                 :     PPluginIdentifierEnd
      42                 : };
      43                 : 
      44                 : bool
      45                 : Transition(
      46                 :         State from,
      47                 :         mozilla::ipc::Trigger trigger,
      48                 :         State* next);
      49                 : 
      50                 : class Msg_Retain :
      51                 :     public IPC::Message
      52               0 : {
      53                 : private:
      54                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
      55                 :     typedef mozilla::ipc::Shmem Shmem;
      56                 : 
      57                 : public:
      58                 :     enum {
      59                 :         ID = Msg_Retain__ID
      60                 :     };
      61               0 :     Msg_Retain() :
      62               0 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PPluginIdentifier::Msg_Retain")
      63                 :     {
      64               0 :     }
      65                 : 
      66                 :     void
      67               0 :     Log(
      68                 :             const std::string& __pfx,
      69                 :             FILE* __outf) const
      70                 :     {
      71               0 :         std::string __logmsg;
      72               0 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
      73               0 :         (__logmsg).append(__pfx);
      74               0 :         (__logmsg).append("Msg_Retain(");
      75                 : 
      76               0 :         (__logmsg).append("[TODO])\n");
      77               0 :         fputs((__logmsg).c_str(), __outf);
      78               0 :     }
      79                 : };
      80                 : 
      81                 : class Msg___delete__ :
      82                 :     public IPC::Message
      83               0 : {
      84                 : private:
      85                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
      86                 :     typedef mozilla::ipc::Shmem Shmem;
      87                 : 
      88                 : public:
      89                 :     enum {
      90                 :         ID = Msg___delete____ID
      91                 :     };
      92               0 :     Msg___delete__() :
      93               0 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PPluginIdentifier::Msg___delete__")
      94                 :     {
      95               0 :     }
      96                 : 
      97                 :     void
      98               0 :     Log(
      99                 :             const std::string& __pfx,
     100                 :             FILE* __outf) const
     101                 :     {
     102               0 :         std::string __logmsg;
     103               0 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
     104               0 :         (__logmsg).append(__pfx);
     105               0 :         (__logmsg).append("Msg___delete__(");
     106                 : 
     107               0 :         (__logmsg).append("[TODO])\n");
     108               0 :         fputs((__logmsg).c_str(), __outf);
     109               0 :     }
     110                 : };
     111                 : 
     112                 : class Reply___delete__ :
     113                 :     public IPC::Message
     114                 : {
     115                 : private:
     116                 :     typedef mozilla::ipc::ActorHandle ActorHandle;
     117                 :     typedef mozilla::ipc::Shmem Shmem;
     118                 : 
     119                 : public:
     120                 :     enum {
     121                 :         ID = Reply___delete____ID
     122                 :     };
     123                 :     Reply___delete__() :
     124                 :         IPC::Message(MSG_ROUTING_NONE, ID, PRIORITY_NORMAL, "PPluginIdentifier::Reply___delete__")
     125                 :     {
     126                 :     }
     127                 : 
     128                 :     void
     129                 :     Log(
     130                 :             const std::string& __pfx,
     131                 :             FILE* __outf) const
     132                 :     {
     133                 :         std::string __logmsg;
     134                 :         StringAppendF((&(__logmsg)), "[time:%" PRId64 "]", PR_Now());
     135                 :         (__logmsg).append(__pfx);
     136                 :         (__logmsg).append("Reply___delete__(");
     137                 : 
     138                 :         (__logmsg).append("[TODO])\n");
     139                 :         fputs((__logmsg).c_str(), __outf);
     140                 :     }
     141                 : };
     142                 : 
     143                 : 
     144                 : 
     145                 : } // namespace PPluginIdentifier
     146                 : } // namespace plugins
     147                 : } // namespace mozilla
     148                 : 
     149                 : #endif // ifndef PPluginIdentifier_h

Generated by: LCOV version 1.7