void CrossProjectManagerPlugin::extensionsInitialized() { // Retrieve objects from the plugin manager's object pool // In the extensionsInitialized method, a plugin can be sure that all // plugins that depend on it are completely initialized. //Add new qemu device ProjectExplorer::DeviceManager *dm = ProjectExplorer::DeviceManager::instance(); dm->addDevice(CrossDevice32Bit::create()); dm->addDevice(CrossDevice64Bit::create()); //NO kit setup here!! //don't konw why I can't use kit stuff here //It will cause a lot of warning.... //so move to crossdkinfo }
void AndroidPlugin::extensionsInitialized() { ProjectExplorer::DeviceManager *dm = ProjectExplorer::DeviceManager::instance(); if (dm->find(Core::Id(Constants::ANDROID_DEVICE_ID)).isNull()) dm->addDevice(ProjectExplorer::IDevice::Ptr(new Internal::AndroidDevice)); }