CELIX-353: Moved component_getBundleContext from private include to public. Fixed typo in bundle name dm_shell
Project: http://git-wip-us.apache.org/repos/asf/celix/repo Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/720b64b8 Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/720b64b8 Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/720b64b8 Branch: refs/heads/release/celix-2.0.0 Commit: 720b64b8663f4df9384f94e1a3dc5ae1ad99753a Parents: f741eb4 Author: Pepijn Noltes <[email protected]> Authored: Tue Apr 5 17:21:12 2016 +0200 Committer: Pepijn Noltes <[email protected]> Committed: Tue Apr 5 17:21:12 2016 +0200 ---------------------------------------------------------------------- dependency_manager/CMakeLists.txt | 2 +- dependency_manager/private/include/dm_component_impl.h | 2 -- dependency_manager/public/include/dm_component.h | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/celix/blob/720b64b8/dependency_manager/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/dependency_manager/CMakeLists.txt b/dependency_manager/CMakeLists.txt index 4f85e3c..4c7c3f8 100644 --- a/dependency_manager/CMakeLists.txt +++ b/dependency_manager/CMakeLists.txt @@ -31,7 +31,7 @@ if (DEPENDENCY_MANAGER) endif(UNIX AND NOT WIN32) add_bundle(dm_shell - SYMBOLIC_NAME "apche_celix_dm_shell" + SYMBOLIC_NAME "apache_celix_dm_shell" VERSION "0.0.1" NAME "Apache Celix DM Shell Commands" SOURCES http://git-wip-us.apache.org/repos/asf/celix/blob/720b64b8/dependency_manager/private/include/dm_component_impl.h ---------------------------------------------------------------------- diff --git a/dependency_manager/private/include/dm_component_impl.h b/dependency_manager/private/include/dm_component_impl.h index 418b022..bb093ff 100644 --- a/dependency_manager/private/include/dm_component_impl.h +++ b/dependency_manager/private/include/dm_component_impl.h @@ -36,8 +36,6 @@ celix_status_t component_start(dm_component_pt component); celix_status_t component_stop(dm_component_pt component); -celix_status_t component_getBundleContext(dm_component_pt component, bundle_context_pt *context); - celix_status_t component_handleEvent(dm_component_pt component, dm_service_dependency_pt dependency, dm_event_pt event); #endif /* COMPONENT_IMPL_H_ */ http://git-wip-us.apache.org/repos/asf/celix/blob/720b64b8/dependency_manager/public/include/dm_component.h ---------------------------------------------------------------------- diff --git a/dependency_manager/public/include/dm_component.h b/dependency_manager/public/include/dm_component.h index 5e2b277..65c4609 100644 --- a/dependency_manager/public/include/dm_component.h +++ b/dependency_manager/public/include/dm_component.h @@ -67,6 +67,8 @@ dm_component_state_t component_currentState(dm_component_pt cmp); void * component_getImplementation(dm_component_pt cmp); const char * component_getName(dm_component_pt cmp); +celix_status_t component_getBundleContext(dm_component_pt component, bundle_context_pt *out); + #define component_setCallbacksSafe(dmCmp, type, init, start, stop, deinit) \ do { \ int (*tmp_init)(type) = (init); \
