On 16/01/2015 08:23, Pavel Dovgaluk wrote:
>> > 
>> > Similar to other cases, please wrap this into a single function,
>> > something like
>> > 
>> >     if (replay_handle_input_event(evt)) {
>> >         return;
>> >     }
>> > 
>> >     /* ... original contents of qemu_input_event_send ... */
> I can wrap this, but cannot get rid of _impl function.
> In replay mode we have to make two things:
>  - Deny real user imput (qemu_input_event_send should do nothing)
>  - Read input from the log (qemu_input_event_send should process read data)

That's fine.

Paolo

Reply via email to