wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent(wxWindow* win) { SetEventType(wxEVT_WEBVIEW_CONSOLE_MESSAGE); SetEventObject(win); if (win) SetId(win->GetId()); }
wxWebViewReceivedTitleEvent::wxWebViewReceivedTitleEvent(wxWindow* win) { SetEventType(wxEVT_WEBVIEW_RECEIVED_TITLE); SetEventObject(win); if (win) SetId(win->GetId()); }
wxWebViewNewWindowEvent::wxWebViewNewWindowEvent(wxWindow* win) { SetEventType(wxEVT_WEBVIEW_NEW_WINDOW); SetEventObject(win); if (win) SetId(win->GetId()); }
wxWebViewRightClickEvent::wxWebViewRightClickEvent(wxWindow* win) { SetEventType(wxEVT_WEBVIEW_RIGHT_CLICK); SetEventObject(win); if (win) SetId(win->GetId()); }
EXPORT_C void CLogEvent::CopyL(const CLogEvent& aEvent) /** Makes a copy of the specified log event. @param aEvent The log event to be copied. */ { // Set data first as this is the only function that can leave // If this function fails nothing will be changed SetDataL(aEvent.Data()); SetId(aEvent.Id()); SetEventType(aEvent.EventType()); SetTime(aEvent.Time()); SetDurationType(aEvent.DurationType()); SetDuration(aEvent.Duration()); SetContact(aEvent.Contact()); SetLink(aEvent.Link()); SetDescription(aEvent.Description()); SetRemoteParty(aEvent.RemoteParty()); SetDirection(aEvent.Direction()); SetStatus(aEvent.Status()); SetSubject(aEvent.Subject()); SetNumber(aEvent.Number()); ClearFlags(KLogFlagsMask); SetFlags(aEvent.Flags()); #ifdef SYMBIAN_ENABLE_EVENTLOGGER_DUALSIM SetSimId(aEvent.SimId()); #endif }
// ///////////////////////////////////////////////////////////////// // // ///////////////////////////////////////////////////////////////// bool ListButtonControl::VSetLuaData(const LuaPlus::LuaObject &widgetData) { I32 currEventType(0); std::string tmpText; bool a = SetStringFromLua(widgetData["Text"], tmpText); bool b = SetIntFromLua(widgetData["EventTypeId"], currEventType); bool found(false); if(a && b) { boost::algorithm::to_lower(tmpText); for(std::list<std::string>::iterator i = m_list.begin(), end = m_list.end(); ((!found) && (i != end)); ++i) { std::string currStr(*i); boost::algorithm::to_lower(currStr); if(currStr.compare(tmpText.c_str()) == 0) { found = true; m_curr = i; m_text = *i; } } if(found) { SetEventType(currEventType); } } return (a && b && found); }
wxWebViewLoadEvent::wxWebViewLoadEvent(wxWindow* win) { SetEventType( wxEVT_WEBVIEW_LOAD); SetEventObject( win ); if (win) SetId(win->GetId()); }
ButcherDocumentKeyEvent::ButcherDocumentKeyEvent(const wxKeyEvent &event) : wxKeyEvent(event) { m_propagationLevel=wxEVENT_PROPAGATE_MAX; orig_=GetEventType(); SetEventType(wxEVT_BUTCHERDOCUMENTKEY_ACTION); }
wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent(wxWindow* win) { m_cancelled = false; SetEventType(wxEVT_WEBVIEW_BEFORE_LOAD); SetEventObject(win); if (win) SetId(win->GetId()); }
WorkerEvent(void* pSender) { SetId(-1); SetEventType(wxEVT_WORKER); m_sender = pSender; m_exit = false; m_workerFailed = false; }
WorkerEvent(void* pSender, evt_type type) { SetId(-1); SetEventType(wxEVT_WORKER); m_sender = pSender; m_eventType = type; m_isFailed = false; }
DeviceEvent::DeviceEvent (const DeviceEvent* original) { SetEventType (DEVICE_EVENT); rawData = original->GetRawData (length); variables = original->CopyVariables(); original->GetInAvailable(inAvailable); original->GetOutAvailable(outAvailable); }
// ///////////////////////////////////////////////////////////////// // // ///////////////////////////////////////////////////////////////// bool SliderControl::VSetLuaData(const LuaPlus::LuaObject &widgetData) { I32 currEventType(0); bool a = SetFloatFromLua(widgetData["SliderPosition"], m_sliderPos); bool b = SetIntFromLua(widgetData["EventTypeId"], currEventType); if(a && b) { m_sliderButPtr->VSetPosition(CalculateButtonPositionFromSlider()); SetEventType(currEventType); } return (a && b); }
DeviceEvent::DeviceEvent() { SetEventType (DEVICE_EVENT); length = 1; rawData = new unsigned char[length]; rawData[0] = 0; inAvailable = 1; outAvailable = 1; variables = new std::map<int, int>(); }
void CDataCeneter::SetRegTbl(BYTE bOperation, LPVOID VarData) { if (bOperation == SET_DDNS_INFO) { SetDDNSInfo(bOperation, VarData); } else if (bOperation == SET_EVENT_TYPE) { SetEventType(bOperation, VarData); } else if (bOperation == SET_MAIL_SERVER) { SetMailServer(bOperation, VarData); } }
SubtitlesProviderErrorEvent::SubtitlesProviderErrorEvent(wxString err) : agi::Exception(STD_STR(err), nullptr) { SetEventType(EVT_SUBTITLES_ERROR); }
VideoProviderErrorEvent::VideoProviderErrorEvent(VideoProviderError const& err) : agi::Exception(err.GetMessage(), &err) { SetEventType(EVT_VIDEO_ERROR); }
CREvent::CREvent(EVENTTYPE type) { SetEventType(type); }
SubtitlesProviderErrorEvent::SubtitlesProviderErrorEvent(std::string const& err) : agi::Exception(err) { SetEventType(EVT_SUBTITLES_ERROR); }
CLbsNetworkLocateLogEvent::CLbsNetworkLocateLogEvent() { SetEventType(TUid::Uid(KLogLbsNetworkLocateEventType)); iPosInfo = NULL; }
VisualCardMouseEvent::VisualCardMouseEvent( wxWindow* win, CARD_VECTOR cv ): m_cv(cv) { SetEventType( myEVT_VISUALCARD_DROPPED_EVENT ); SetEventObject( win ); }
CLbsTransmitLocationLogEvent::CLbsTransmitLocationLogEvent() { SetEventType(TUid::Uid(KLogLbsTransmitLocationEventType)); iPosInfo = NULL; }
wxSoundBackendSDLNotification::wxSoundBackendSDLNotification() { SetEventType(wxEVT_SOUND_BACKEND_SDL_NOTIFICATION); }
LoginEvent::LoginEvent(EVENTTYPE type) { SetEventType(type); }
SquiddioEvent::SquiddioEvent() { SetEventType( myEVT_MYEVENT ); }