25 #include "celix_framework_utils.h"
44 std::vector<std::string> list{};
45 auto* cList = celix_framework_utils_listEmbeddedBundles();
46 list.reserve(celix_arrayList_size(cList));
47 for (
int i = 0; i< celix_arrayList_size(cList); ++i) {
48 auto* cStr =
static_cast<char*
>(celix_arrayList_get(cList, i));
49 std::unique_ptr<char, void(*)(
void*)> strGuard{cStr, free};
50 list.emplace_back(cStr);
52 celix_arrayList_destroy(cList);
69 return celix_framework_utils_installEmbeddedBundles(framework.
getCFramework(), autoStart);
91 #if __cplusplus >= 201703L //C++17 or higher
93 return celix_framework_utils_installBundleSet(framework.
getCFramework(), bundleSet.data(), autoStart);
97 return celix_framework_utils_installBundleSet(framework.
getCFramework(), bundleSet.c_str(), autoStart);