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