| 60 | } |
| 61 | |
| 62 | char** makeStrList(const vector<string>& vec) { |
| 63 | char** out = new char*[vec.size()+1]; |
| 64 | for (int i=0;i<vec.size();i++) |
| 65 | out[i] = strdup(vec[i].c_str()); |
| 66 | out[vec.size()] = NULL; |
| 67 | return out; |
| 68 | } |
| 69 | |
| 70 | char** getComponentList() { |
| 71 | const vector<const Component*>& pList = ComponentFactory::instance()->getPrototypeList(); |
no test coverage detected