| 14 | using namespace ::pmon::ipc::act; |
| 15 | |
| 16 | class ACT_NAME : public ACT_TYPE<ACT_NAME, ACT_EXEC_CTX> |
| 17 | { |
| 18 | public: |
| 19 | static constexpr const char* Identifier = STRINGIFY(ACT_NAME); |
| 20 | struct Params |
| 21 | { |
| 22 | bool active; |
| 23 | |
| 24 | template<class A> void serialize(A& ar) { |
| 25 | ar(active); |
| 26 | } |
| 27 | }; |
| 28 | struct Response { |
| 29 | template<class A> void serialize(A& ar) { |
| 30 | } |
| 31 | }; |
| 32 | private: |
| 33 | friend class ACT_TYPE<ACT_NAME, ACT_EXEC_CTX>; |
| 34 | static Response Execute_(const ACT_EXEC_CTX& ctx, SessionContext& stx, Params&& in) |
| 35 | { |
| 36 | (*ctx.ppKernel)->SetCapture(in.active); |
| 37 | return {}; |
| 38 | } |
| 39 | }; |
| 40 | |
| 41 | ACTION_REG(); |
| 42 | } |
nothing calls this directly
no outgoing calls
no test coverage detected