The main function creates a Glib event loop, gets a connection to the session bus, and integrates the D-BUS event handling into the Glib event loop.
main函数创建一个Glib事件循环,获得会话总线的一个连接,并将D - BUS事件处理集成到Glib事件循环之中。
Because the dependencies for D-BUS are kept as small as possible, other applications that would like to use D-BUS don't have to worry about bloating dependencies.
由于尽可能地减少了D - BUS所需的依赖,所以其他可能会使用d - BUS的应用程序不用担心引入过多依赖。
D-BUS has several interesting features that make it look like a very promising candidate.
D - BUS有一些有趣的特性,使其像是一个非常有前途的选择。
应用推荐