fix: AM 暴露出调起应用的接口

org.desktopspec.ApplicationManager启动应用服务接口导出

Log:
Influence: dbus接口暴露给启动器/任务栏等应用调用
Task: https://pms.uniontech.com/task-view-211667.html
Change-Id: I2ccbaf31513db18438cbd18daf96c8bc552e46c5
This commit is contained in:
songwentao
2022-11-04 14:22:45 +08:00
parent ecc94f01c8
commit f260303803
6 changed files with 84 additions and 150 deletions

View File

@ -1,50 +1,34 @@
<interface name='org.desktopspec.ApplicationManager'>
<method name='Launch'>
<arg type='s' name='id' direction='in'/>
<arg type='as' name='files' direction='in' />
<arg type='o' name='instance' 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'>
<method name='RemoveAutostart'>
<arg type='s' name='fileNamae' direction='in' />
<arg type='b' name='outArg0' direction='out' />
</method>
<method name="Launch">
<arg type='s' name='desktopFile' direction='in'/>
</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>
<method name='IsPidVirtualMachine'>
<arg type='i' name='pid' direction='in' />
<arg type='b' name='isVM' direction='out' />
</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>