feat: 指定服务slice、接口类私有化封装处理

指定服务slice、接口类私有化封装处理

Log: 指定服务slice、接口类私有化封装处理
Task: https://pms.uniontech.com/task-view-109315.html
Influence: 无
Change-Id: I7111960eab2cb49e439905aac67ac0f83165f6d8
This commit is contained in:
tanfeng
2022-05-18 21:14:48 +08:00
parent 08d9f4895b
commit 68f52fe831
9 changed files with 72 additions and 53 deletions

View 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>

View 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>

View File

@ -0,0 +1,58 @@
<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='GetInstances'>
<arg type='s' name='id' direction='in' />
<arg type='ao' name='instances' direction='out' />
</method>
<method name='AddAutostart'>
<arg type='s' name='fileNamae' direction='in' />
<arg type='b' name='outArg0' direction='out' />
</method>
<method name='RemoveAutostart'>
<arg type='s' name='fileNamae' direction='in' />
<arg type='b' name='outArg0' direction='out' />
</method>
<method name='AutostartList'>
<arg type='as' name='outArg0' direction='out' />
</method>
<method name='DumpMemRecord'>
<arg type='s' name='outArg0' direction='out' />
</method>
<method name='IsAutostart'>
<arg type='s' name='fileName' direction='in' />
<arg type='b' name='outArg0' direction='out' />
</method>
<method name='IsMemSufficient'>
<arg type='b' name='outArg0' direction='out' />
</method>
<method name='LaunchApp'>
<arg type='s' name='desktopFile' direction='in' />
<arg type='u' name='timestamp' direction='in' />
<arg type='as' name='files' direction='in' />
</method>
<method name='LaunchAppAction'>
<arg type='s' name='desktopFile' direction='in' />
<arg type='s' name='action' direction='in' />
<arg type='u' name='timestamp' direction='in' />
</method>
<method name='RunCommand'>
<arg type='s' name='exe' direction='in' />
<arg type='as' name='args' direction='in' />
</method>
<method name='TryAgain'>
<arg type='b' name='launch' direction='in' />
</method>
<signal name='AutostartChanged'>
<arg type='s' name='status' />
<arg type='s' name='filePath' />
</signal>
<property access='read' type='ao' name='list' />
<property access='read' type='ao' name='instances' />
</interface>