Removed singletons from the type registry 07/57507/2
authorDavid Steele <david.steele@samsung.com>
Wed, 20 Jan 2016 13:04:46 +0000 (13:04 +0000)
committerDavid Steele <david.steele@samsung.com>
Wed, 20 Jan 2016 14:34:32 +0000 (14:34 +0000)
commit5ca5e73746c15919a9acfd2c613c26d7450fa101
tree98a988f3c74db767c11634a9d77158a6355b6333
parent3e530b54537d2d2b86e9ffedcea4414cdeb4ff9a
Removed singletons from the type registry

The type registry creation order is dependent on library load order, so it's possible for dali toolkit singletons to be created before adaptor singletons.

Have changed all adaptor singletons to register with the singleton
service in the Get() method, and removed unnecessary type registry
entries for them. Thus, they will be created when first required,
rather than when the type registry tries to create them.

Change-Id: I36281d86f5c769a05feb6c074b55375ddea9359b
Signed-off-by: David Steele <david.steele@samsung.com>
15 files changed:
adaptors/common/clipboard-event-notifier-impl.cpp
adaptors/common/lifecycle-controller-impl.cpp
adaptors/common/style-monitor-impl.cpp
adaptors/ecore/wayland/clipboard-impl-ecore-wl.cpp
adaptors/ecore/wayland/imf-manager-impl-ecore-wl.cpp
adaptors/mobile/accessibility-adaptor-impl-mobile.cpp
adaptors/mobile/mobile-color-controller-impl.cpp
adaptors/tizen/accessibility-adaptor-impl-tizen.cpp
adaptors/tizen/tts-player-impl-tizen.cpp
adaptors/ubuntu/accessibility-adaptor-impl-ubuntu.cpp
adaptors/ubuntu/tts-player-impl-ubuntu.cpp
adaptors/wayland/clipboard/clipboard-impl-wl.cpp
adaptors/wayland/imf/imf-manager-impl-wl.cpp
adaptors/x11/clipboard-impl-x.cpp
adaptors/x11/imf-manager-impl-x.cpp