feat: 初始代码
AM初始代码,迁移自gitlabwh Log: Task: https://pms.uniontech.com/task-view-108539.html Influence: Change-Id: I6096f97e5d68d13796ff5dc51d9858c0f40264a0
This commit is contained in:
15
DBus/org.desktopspec.Application.xml
Normal file
15
DBus/org.desktopspec.Application.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<interface name='org.desktopspec.Application'>
|
||||
<method name='Name'>
|
||||
<arg type='s' name='locale' direction='in' />
|
||||
<arg type='s' name='value' direction='out' />
|
||||
</method>
|
||||
<method name='Comment'>
|
||||
<arg type='s' name='comment' direction='in' />
|
||||
<arg type='s' name='value' direction='out' />
|
||||
</method>
|
||||
<property access='read' type='as' name='categories' />
|
||||
<property access='read' type='as' name='mimetypes' />
|
||||
<property access='read' type='s' name='id' />
|
||||
<property access="read" type='s' name='icon' />
|
||||
<property access='read' type='ao' name='instances' />
|
||||
</interface>
|
8
DBus/org.desktopspec.ApplicationInstance.xml
Normal file
8
DBus/org.desktopspec.ApplicationInstance.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<interface name='org.desktopspec.ApplicationInstance'>
|
||||
<method name='Exit'>
|
||||
</method>
|
||||
<method name='Kill'>
|
||||
</method>
|
||||
<property access='read' type='t(116)' name='startuptime' />
|
||||
<property access='read' type='o' name='id' />
|
||||
</interface>
|
20
DBus/org.desktopspec.ApplicationManager.xml
Normal file
20
DBus/org.desktopspec.ApplicationManager.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<interface name='org.desktopspec.ApplicationManager'>
|
||||
<method name='Run'>
|
||||
<arg type='s' name='id' direction='in'/>
|
||||
<arg type='o' name='instance' direction='out'/>
|
||||
</method>
|
||||
<method name='GetInformation'>
|
||||
<arg type='s' name='id' direction='in' />
|
||||
<arg type='o' name='info' direction='out' />
|
||||
</method>
|
||||
<method name='GetId'>
|
||||
<arg type='i' name='pid' direction='in' />
|
||||
<arg type='o' name='instance' direction='out' />
|
||||
</method>
|
||||
<method name='GetInstances'>
|
||||
<arg type='s' name='id' direction='in' />
|
||||
<arg type='ao' name='instances' direction='out' />
|
||||
</method>
|
||||
<property access='read' type='ao' name='list' />
|
||||
<property access='read' type='ao' name='instances' />
|
||||
</interface>
|
Reference in New Issue
Block a user