| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
<!-- |
| 4 |
SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd. |
| 5 |
|
| 6 |
SPDX-License-Identifier: LGPL-3.0-or-later |
| 7 |
--> |
| 8 |
|
| 9 |
<interface name='org.desktopspec.ConfigManager.Manager'> |
| 10 |
<property access="read" type="s" name="version"/> |
| 11 |
<property access="read" type="as" name="keyList"/> |
| 12 |
<method name='value'> |
| 13 |
<arg type='s' name='key' direction='in'/> |
| 14 |
<arg type='v' name='value' direction='out'/> |
| 15 |
</method> |
| 16 |
<method name='isDefaultValue'> |
| 17 |
<arg type='s' name='key' direction='in'/> |
| 18 |
<arg type='b' name='isDefaultValue' direction='out'/> |
| 19 |
</method> |
| 20 |
<method name='setValue'> |
| 21 |
<arg type='s' name='key' direction='in'/> |
| 22 |
<arg type='v' name='value' direction='in'/> |
| 23 |
</method> |
| 24 |
<method name='reset'> |
| 25 |
<arg type='s' name='key' direction='in'/> |
| 26 |
</method> |
| 27 |
<method name='name'> |
| 28 |
<arg type='s' name='key' direction='in'/> |
| 29 |
<arg type='s' name='language' direction='in'/> |
| 30 |
<arg type='s' name='name' direction='out'/> |
| 31 |
</method> |
| 32 |
<method name='description'> |
| 33 |
<arg type='s' name='key' direction='in'/> |
| 34 |
<arg type='s' name='language' direction='in'/> |
| 35 |
<arg type='s' name='description' direction='out'/> |
| 36 |
</method> |
| 37 |
<method name='visibility'> |
| 38 |
<arg type='s' name='key' direction='in'/> |
| 39 |
<arg type='s' name='visibility' direction='out'/> |
| 40 |
</method> |
| 41 |
<method name='permissions'> |
| 42 |
<arg type='s' name='key' direction='in'/> |
| 43 |
<arg type='s' name='permissions' direction='out'/> |
| 44 |
</method> |
| 45 |
<!--采用引用计数的方式,引用为 0 时才真正的销毁--> |
| 46 |
<method name='release'> |
| 47 |
</method> |
| 48 |
<signal name="valueChanged"> |
| 49 |
<arg name="key" type="s" direction="out"/>' |
| 50 |
</signal> |
| 51 |
</interface> |