| 1 | #ifndef _IOKIT_TESTIOSERVICEUSERNOTIFICATION_H_ |
| 2 | #define _IOKIT_TESTIOSERVICEUSERNOTIFICATION_H_ |
| 3 | |
| 4 | #include <IOKit/IOService.h> |
| 5 | #include <IOKit/IOUserClient.h> |
| 6 | |
| 7 | #if DEVELOPMENT || DEBUG |
| 8 | |
| 9 | class TestIOServiceUserNotification : public IOService { |
| 10 | OSDeclareDefaultStructors(TestIOServiceUserNotification); |
| 11 | |
| 12 | public: |
| 13 | virtual bool start(IOService *provider) override; |
| 14 | }; |
| 15 | |
| 16 | class TestIOServiceUserNotificationUserClient : public IOUserClient { |
| 17 | OSDeclareDefaultStructors(TestIOServiceUserNotificationUserClient); |
| 18 | |
| 19 | public: |
| 20 | virtual IOReturn clientClose() override; |
| 21 | IOReturn externalMethod(uint32_t selector, IOExternalMethodArguments * args, |
| 22 | IOExternalMethodDispatch * dispatch, OSObject * target, void * reference) override; |
| 23 | }; |
| 24 | |
| 25 | #endif /* DEVELOPMENT || DEBUG */ |
| 26 | |
| 27 | #endif /* _IOKIT_TESTIOSERVICEUSERNOTIFICATION_H_ */ |
| 28 | |