| 50 | } |
| 51 | |
| 52 | int isComponentAvailable(char* id) |
| 53 | { |
| 54 | const vector<const Component*>& pList = ComponentFactory::instance()->getPrototypeList(); |
| 55 | for (vector<const Component*>::const_iterator it=pList.begin(); |
| 56 | it!=pList.end(); it++) |
| 57 | if ((*it)->getIdentifier()==id) |
| 58 | return 1; |
| 59 | return 0; |
| 60 | } |
| 61 | |
| 62 | char** makeStrList(const vector<string>& vec) { |
| 63 | char** out = new char*[vec.size()+1]; |
nothing calls this directly
no test coverage detected