msgPumpMsg 211 B

123456789101112
  1. # -*- mode: snippet -*-
  2. # name: Message Pump Msg
  3. # key: msgPumpMsg
  4. # group: col
  5. # --
  6. auto fun${1:Msg} = [${2:this}${3:,}$4] () -> bool {
  7. this->handle$1($4);
  8. return true;
  9. };
  10. itsQueue_.push(fun$1);