Changeset 137 in flair-src for trunk/lib/FlairMeta/src/MetaDualShock3.cpp


Ignore:
Timestamp:
Feb 14, 2017, 3:06:20 PM (4 years ago)
Author:
Sanahuja Guillaume
Message:

singleton manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairMeta/src/MetaDualShock3.cpp

    r38 r137  
    3636namespace meta {
    3737
    38 MetaDualShock3::MetaDualShock3(FrameworkManager *parent, string name,
     38MetaDualShock3::MetaDualShock3(string name,
    3939                               TargetController *controller)
    4040    : controller(controller),IODevice((IODevice*)controller, name) {
    4141  pimpl_ = new MetaDualShock3_impl(this, name);
    42   parent->AddDeviceToLog(pimpl_->joy_ref);
     42  getFrameworkManager()->AddDeviceToLog(pimpl_->joy_ref);
    4343  controller->Start();
    4444}
Note: See TracChangeset for help on using the changeset viewer.