Exemplo n.º 1
0
    void
    initialize(IOWorkLoop& workloop)
    {
      statusmessage_[0] = '\0';
      lastmessage_[0] = '\0';
      remapclasses_ = NULL;
      enabled_remapclasses_ = NULL;

      refresh_timer_.initialize(&workloop, NULL, refresh_timer_callback);
    }
Exemplo n.º 2
0
    void
    initialize(IOWorkLoop& workloop)
    {
      lock_ = IOLockWrapper::alloc();
      statusmessage_[0] = '\0';
      lastmessage_[0] = '\0';
      remapclasses_ = NULL;
      enabled_remapclasses_ = NULL;

      refresh_timer_.initialize(&workloop, NULL, refresh_core);
    }