From bcf4695095caa8ecc1b2df25992a7d06d58d80ac Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 17 Nov 2016 13:30:42 -0800 Subject: Remove FWL_EVENT_DEF macro No longer used. Review-Url: https://codereview.chromium.org/2506153003 --- xfa/fwl/core/cfwl_event.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'xfa/fwl') diff --git a/xfa/fwl/core/cfwl_event.h b/xfa/fwl/core/cfwl_event.h index b071fb7c9f..cabb5838d0 100644 --- a/xfa/fwl/core/cfwl_event.h +++ b/xfa/fwl/core/cfwl_event.h @@ -64,16 +64,4 @@ class CFWL_Event { IFWL_Widget* m_pDstTarget; }; -#define FWL_EVENT_DEF(classname, eventType, ...) \ - class classname : public CFWL_Event { \ - public: \ - classname(); \ - ~classname() override; \ - CFWL_EventType GetClassID() const override; \ - __VA_ARGS__ \ - }; \ - inline classname::classname() {} \ - inline classname::~classname() {} \ - inline CFWL_EventType classname::GetClassID() const { return eventType; } - #endif // XFA_FWL_CORE_CFWL_EVENT_H_ -- cgit v1.2.3