📄 testrunnerthreadevent.h
字号:
/////////////////////////////////////////////////////////////////////////////// Name: TestRunnerThreadEvent.h// Purpose: Header for class TestRunnerThreadEvent// Author: Baptiste Lepilleur// Modified by: Anthon Pang// Created: 2003.09.11// RCS-ID:// Copyright: (C) 2003 by Anthon Pang and Baptiste Lepilleur// Licence: LGPL// Reference: cppunit/src/qttestrunner/TestRunnerThreadEvent.h/////////////////////////////////////////////////////////////////////////////#ifndef TESTRUNNERTHREADEVENT_H#define TESTRUNNERTHREADEVENT_H#include <wx/event.h>class TestRunnerModelThreadInterface;/*! \class TestRunnerThreadEvent * \brief This class represents an event send by the test runner thread. */class TestRunnerThreadEvent : public wxCommandEvent{public: TestRunnerThreadEvent(); virtual ~TestRunnerThreadEvent();protected: TestRunnerThreadEvent( const TestRunnerThreadEvent © ) : wxCommandEvent(copy) { }private: // not implemented void operator =( const TestRunnerThreadEvent © );public: virtual void process( TestRunnerModelThreadInterface *target ) =0;};// ----------------------------------------------------------------------------// event tables and other macros for wxWidgets// ----------------------------------------------------------------------------typedef void (wxEvtHandler::*TestRunnerThreadEventFunction)(TestRunnerThreadEvent&);#define EVT_TEST_RUNNER_THREAD_EVENT(id, fn) \ DECLARE_EVENT_TABLE_ENTRY( \ TEST_RUNNER_THREAD_EVENT, id, -1, \ (wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)(TestRunnerThreadEventFunction)&fn, \ (wxObject *) NULL \ ),BEGIN_DECLARE_EVENT_TYPES() DECLARE_EVENT_TYPE(TEST_RUNNER_THREAD_EVENT, 8888)END_DECLARE_EVENT_TYPES()#endif // TESTRUNNERTHREADEVENT_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -