app: add shell provider implementation skeleton
This commit is contained in:
@@ -45,6 +45,7 @@ EXTRA_DIST= \
|
||||
org.gnome.Calendar.search-provider.ini.in.in \
|
||||
org.gnome.Calendar.desktop \
|
||||
calendar.gresource.xml \
|
||||
shell-search-provider-dbus-interfaces.xml \
|
||||
ui/date-selector.ui \
|
||||
ui/edit-dialog.ui \
|
||||
ui/menus.ui \
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE node PUBLIC
|
||||
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
|
||||
<!--
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General
|
||||
Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
|
||||
<interface name='org.gnome.Shell.SearchProvider2'>
|
||||
<method name='GetInitialResultSet'>
|
||||
<arg type='as' name='Terms' direction='in' />
|
||||
<arg type='as' name='Results' direction='out' />
|
||||
</method>
|
||||
<method name = 'GetSubsearchResultSet'>
|
||||
<arg type='as' name='PreviousResults' direction='in' />
|
||||
<arg type='as' name='Terms' direction='in' />
|
||||
<arg type='as' name='Results' direction='out' />
|
||||
</method>
|
||||
<method name = 'GetResultMetas'>
|
||||
<arg type='as' name='Results' direction='in' />
|
||||
<arg type='aa{sv}' name='Metas' direction='out' />
|
||||
</method>
|
||||
<method name = 'ActivateResult'>
|
||||
<arg type='s' name='Result' direction='in' />
|
||||
<arg type='as' name='Terms' direction='in' />
|
||||
<arg type='u' name='Timestamp' direction='in' />
|
||||
</method>
|
||||
<method name = 'LaunchSearch'>
|
||||
<arg type='as' name='Terms' direction='in' />
|
||||
<arg type='u' name='Timestamp' direction='in' />
|
||||
</method>
|
||||
</interface>
|
||||
</node>
|
||||
Reference in New Issue
Block a user