| 149 | } |
| 150 | |
| 151 | void Kernel::ImportApplication(KratosApplication::Pointer pNewApplication) { |
| 152 | if (IsImported(pNewApplication->Name())) |
| 153 | KRATOS_ERROR << "importing more than once the application : " |
| 154 | << pNewApplication->Name() << std::endl; |
| 155 | |
| 156 | pNewApplication->Register(); |
| 157 | Kernel::GetApplicationsList().insert(pNewApplication->Name()); |
| 158 | } |
| 159 | |
| 160 | std::string Kernel::Info() const { return "kernel"; } |
| 161 |