1 : //
2 : // Automatically generated by ipdlc.
3 : // Edit at your own risk
4 : //
5 :
6 : #ifndef PPluginSurface_h
7 : #define PPluginSurface_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 PPluginSurfaceChild and PPluginSurfaceParent
23 : //
24 : namespace mozilla {
25 : namespace plugins {
26 : namespace PPluginSurface {
27 :
28 : enum State {
29 : __Dead,
30 : __Null,
31 : __Error,
32 : __Start = __Null
33 : };
34 :
35 : enum MessageType {
36 : PPluginSurfaceStart = PPluginSurfaceMsgStart << 16,
37 : PPluginSurfacePreStart = (PPluginSurfaceMsgStart << 16) - 1,
38 : Msg___delete____ID,
39 : Reply___delete____ID,
40 : PPluginSurfaceEnd
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, "PPluginSurface::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, "PPluginSurface::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 PPluginSurface
114 : } // namespace plugins
115 : } // namespace mozilla
116 :
117 : #endif // ifndef PPluginSurface_h
|