feat: AM 默认程序迁移

默认程序迁移到AM中

Log: 默认程序迁移到AM
Task: https://pms.uniontech.com/task-view-140029.html
Influence: 默认程序
Change-Id: I0824c503b6ab844f09b3bf3cf740565b1e4215e5
This commit is contained in:
echengqi
2022-06-15 14:14:43 +08:00
parent 2b00b9b291
commit dfa232bb98
31 changed files with 1907 additions and 66 deletions

View File

@ -0,0 +1,30 @@
<interface name='org.deepin.daemon.Mime'>
<method name='AddUserApp'>
<arg type='as' name='mimeTypes' direction='in'/>
<arg type='s' name='desktopId' direction='in'/>
</method>
<method name='DeleteApp'>
<arg type='as' name='mimeTypes' direction='in'/>
<arg type='s' name='desktopId' direction='in'/>
</method>
<method name='DeleteUserApp'>
<arg type='s' name='desktopId' direction='in'/>
</method>
<method name='GetDefaultApp'>
<arg type='s' name='mimeType' direction='in'/>
<arg type='s' name='defaultApp' direction='out'/>
</method>
<method name='ListApps'>
<arg type='s' name='mimeType' direction='in'/>
<arg type='s' name='apps' direction='out'/>
</method>
<method name='ListUserApps'>
<arg type='s' name='mimeType' direction='in'/>
<arg type='s' name='userApps' direction='out'/>
</method>
<method name='SetDefaultApp'>
<arg type='as' name='mimeTypes' direction='in'/>
<arg type='s' name='desktopId' direction='in'/>
</method>
<signal name="Change"></signal>
</interface>

View File

@ -37,6 +37,10 @@
<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' />