3 -- load the dlog plugin
4 m:try_load_plugin('dlog')
6 -- load the console plugin
7 m:try_load_plugin('console')
9 -- load the dbus plugin
10 if m:plugin_exists('dbus') then
14 -- load the native resource plugin
15 if m:plugin_exists('resource-native') then
16 m:load_plugin('resource-native')
17 m:info("native resource plugin loaded")
19 m:info("No native resource plugin found...")
22 -- load the dbus resource plugin
23 m:try_load_plugin('resource-dbus', {
25 dbus_service = "org.Murphy",
27 default_zone = "driver",
28 default_class = "implicit"
31 -- load the domain control plugin
32 if m:plugin_exists('domain-control') then
33 m:load_plugin('domain-control')
35 m:info("No domain-control plugin found...")
38 if m:plugin_exists('glib') then
41 m:info("No glib plugin found...")
44 -- define application classes
61 -- define zone attributes
63 type = {mdb.string, "common", "rw"},
64 location = {mdb.string, "anywhere", "rw"}
72 location = "front-left"
76 -- define resource classes
78 name = "video_overlay",
84 name = "video_decoder",
90 name = "video_encoder",