-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathXmlRpcEvents.cpp
More file actions
24 lines (20 loc) · 916 Bytes
/
Copy pathXmlRpcEvents.cpp
File metadata and controls
24 lines (20 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "XmlRpcEvents.h"
//////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////
// classes PyNotifyIntepreterEvent and PyNotifyUIEvent
//////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////
DEFINE_EVENT_TYPE(wxEVT_XMLRPC_STARTED)
DEFINE_EVENT_TYPE(wxEVT_XMLRPC_FINISHED)
DEFINE_EVENT_TYPE(wxEVT_XMLRPC_ABORTED)
DEFINE_EVENT_TYPE(wxEVT_XMLRPC_NOTIFY)
DEFINE_EVENT_TYPE(wxEVT_XMLRPC_RESPONSE)
DEFINE_EVENT_TYPE(wxEVT_XMLRPC_PROC_END)
XmlRpcResponseEvent::XmlRpcResponseEvent(int id, XmlRpcInstance *inst, wxEvtHandler *window, JobStates js, XmlRpc::XmlRpcValue val) : wxEvent(id, wxEVT_XMLRPC_RESPONSE)
{
instance=inst;
jobstate=js;
job=NULL;
parent=window;
value=val;
}