Skip to content

Commit

Permalink
CELIX-353: Moved component_getBundleContext from private include to p…
Browse files Browse the repository at this point in the history
…ublic. Fixed typo in bundle name dm_shell
  • Loading branch information
pnoltes committed Apr 5, 2016
1 parent f741eb4 commit 720b64b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dependency_manager/CMakeLists.txt
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions dependency_manager/private/include/dm_component_impl.h
Expand Up @@ -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_ */
2 changes: 2 additions & 0 deletions dependency_manager/public/include/dm_component.h
Expand Up @@ -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); \
Expand Down

0 comments on commit 720b64b

Please sign in to comment.