Warning, /system/apper/PkSession/org.freedesktop.PackageKit.xml is written in an unsupported language. File is not indexed.

0001 <!DOCTYPE node PUBLIC
0002 "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
0003 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" [
0004   <!ENTITY ERROR_GENERAL "org.freedesktop.PackageKit.Denied">
0005 ]>
0006 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
0007 
0008   <interface name="org.freedesktop.PackageKit.Query">
0009     <doc:doc>
0010       <doc:description>
0011         <doc:para>
0012           The interface used for querying the package database.
0013         </doc:para>
0014       </doc:description>
0015     </doc:doc>
0016 
0017     <!--*****************************************************************************************-->
0018     <method name="IsInstalled">
0019       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0020       <doc:doc>
0021         <doc:description>
0022           <doc:para>
0023             Finds out if the package is installed.
0024           </doc:para>
0025         </doc:description>
0026       </doc:doc>
0027       <arg type="s" name="package_name" direction="in">
0028         <doc:doc>
0029           <doc:summary>
0030             <doc:para>
0031               A package name, e.g. <doc:tt>hal-info</doc:tt>
0032             </doc:para>
0033           </doc:summary>
0034         </doc:doc>
0035       </arg>
0036       <arg type="s" name="interaction" direction="in">
0037         <doc:doc>
0038           <doc:summary>
0039             <doc:para>
0040               An optional interaction mode, e.g.
0041               <doc:tt>timeout=10</doc:tt>
0042             </doc:para>
0043           </doc:summary>
0044         </doc:doc>
0045       </arg>
0046       <arg type="b" name="installed" direction="out">
0047         <doc:doc>
0048           <doc:summary>
0049             <doc:para>
0050               If the package is installed.
0051             </doc:para>
0052           </doc:summary>
0053         </doc:doc>
0054       </arg>
0055     </method>
0056 
0057     <!--*****************************************************************************************-->
0058     <method name="SearchFile">
0059       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0060       <doc:doc>
0061         <doc:description>
0062           <doc:para>
0063             Finds the package name for an installed or available file
0064           </doc:para>
0065         </doc:description>
0066       </doc:doc>
0067       <arg type="s" name="file_name" direction="in">
0068         <doc:doc>
0069           <doc:summary>
0070             <doc:para>
0071               A package name, e.g. <doc:tt>/usr/share/help/gimp/index.html</doc:tt>
0072             </doc:para>
0073           </doc:summary>
0074         </doc:doc>
0075       </arg>
0076       <arg type="s" name="interaction" direction="in">
0077         <doc:doc>
0078           <doc:summary>
0079             <doc:para>
0080               An optional interaction mode, e.g.
0081               <doc:tt>timeout=10</doc:tt>
0082             </doc:para>
0083           </doc:summary>
0084         </doc:doc>
0085       </arg>
0086       <arg type="b" name="installed" direction="out">
0087         <doc:doc>
0088           <doc:summary>
0089             <doc:para>
0090               If the package is installed.
0091             </doc:para>
0092           </doc:summary>
0093         </doc:doc>
0094       </arg>
0095       <arg type="s" name="package_name" direction="out">
0096         <doc:doc>
0097           <doc:summary>
0098             <doc:para>
0099               The package name of the file, e.g. <doc:tt>hal-info</doc:tt>
0100             </doc:para>
0101           </doc:summary>
0102         </doc:doc>
0103       </arg>
0104     </method>
0105   </interface>
0106 
0107   <!-- ######################################################################################### -->
0108   <interface name="org.freedesktop.PackageKit.Modify">
0109     <doc:doc>
0110       <doc:description>
0111         <doc:para>
0112           The interface used for modifying the package database.
0113         </doc:para>
0114       </doc:description>
0115     </doc:doc>
0116 
0117     <!--*****************************************************************************************-->
0118     <method name="InstallPackageFiles">
0119       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0120       <doc:doc>
0121         <doc:description>
0122           <doc:para>
0123             Installs local package files or service packs.
0124           </doc:para>
0125         </doc:description>
0126       </doc:doc>
0127       <arg type="u" name="xid" direction="in">
0128         <doc:doc>
0129           <doc:summary>
0130             <doc:para>
0131               The X window handle ID, used for focus stealing prevention and setting modality.
0132             </doc:para>
0133           </doc:summary>
0134         </doc:doc>
0135       </arg>
0136       <arg type="as" name="files" direction="in">
0137         <doc:doc>
0138           <doc:summary>
0139             <doc:para>
0140               An array of file names.
0141             </doc:para>
0142           </doc:summary>
0143         </doc:doc>
0144       </arg>
0145       <arg type="s" name="interaction" direction="in">
0146         <doc:doc>
0147           <doc:summary>
0148             <doc:para>
0149               An interaction mode that specifies which UI elements should be shown
0150               or hidden different from the user default, e.g.
0151               <doc:tt>hide-confirm-search,hide-confirm-deps,hide-confirm-install,show-progress</doc:tt>.
0152               The show options are:
0153               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>.
0154               The hide options are:
0155               <doc:tt>hide-confirm-search,hide-confirm-deps,hide-confirm-install,hide-progress,hide-finished,hide-warning</doc:tt>.
0156               Convenience options such as:
0157               <doc:tt>never</doc:tt>, <doc:tt>defaults</doc:tt> or <doc:tt>always</doc:tt>.
0158               are also available.
0159             </doc:para>
0160           </doc:summary>
0161         </doc:doc>
0162       </arg>
0163     </method>
0164 
0165     <!--*****************************************************************************************-->
0166     <method name="InstallProvideFiles">
0167       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0168       <doc:doc>
0169         <doc:description>
0170           <doc:para>
0171             Installs packages to provide files.
0172           </doc:para>
0173         </doc:description>
0174       </doc:doc>
0175       <arg type="u" name="xid" direction="in">
0176         <doc:doc>
0177           <doc:summary>
0178             <doc:para>
0179               The X window handle ID, used for focus stealing prevention and setting modality.
0180             </doc:para>
0181           </doc:summary>
0182         </doc:doc>
0183       </arg>
0184       <arg type="as" name="files" direction="in">
0185         <doc:doc>
0186           <doc:summary>
0187             <doc:para>
0188               An array of file names.
0189             </doc:para>
0190           </doc:summary>
0191         </doc:doc>
0192       </arg>
0193       <arg type="s" name="interaction" direction="in">
0194         <doc:doc>
0195           <doc:summary>
0196             <doc:para>
0197               An optional interaction mode, e.g.
0198               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>
0199             </doc:para>
0200           </doc:summary>
0201         </doc:doc>
0202       </arg>
0203     </method>
0204 
0205     <!--*****************************************************************************************-->
0206     <method name="InstallCatalogs">
0207       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0208       <doc:doc>
0209         <doc:description>
0210           <doc:para>
0211             Installs specified package catalogs.
0212           </doc:para>
0213         </doc:description>
0214       </doc:doc>
0215       <arg type="u" name="xid" direction="in">
0216         <doc:doc>
0217           <doc:summary>
0218             <doc:para>
0219               The X window handle ID, used for focus stealing prevention and setting modality.
0220             </doc:para>
0221           </doc:summary>
0222         </doc:doc>
0223       </arg>
0224       <arg type="as" name="files" direction="in">
0225         <doc:doc>
0226           <doc:summary>
0227             <doc:para>
0228               An array of catalog file names.
0229             </doc:para>
0230           </doc:summary>
0231         </doc:doc>
0232       </arg>
0233       <arg type="s" name="interaction" direction="in">
0234         <doc:doc>
0235           <doc:summary>
0236             <doc:para>
0237               An optional interaction mode, e.g.
0238               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>
0239             </doc:para>
0240           </doc:summary>
0241         </doc:doc>
0242       </arg>
0243     </method>
0244 
0245     <!--*****************************************************************************************-->
0246     <method name="InstallPackageNames">
0247       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0248       <doc:doc>
0249         <doc:description>
0250           <doc:para>
0251             Installs packages from a configured software source.
0252           </doc:para>
0253         </doc:description>
0254       </doc:doc>
0255       <arg type="u" name="xid" direction="in">
0256         <doc:doc>
0257           <doc:summary>
0258             <doc:para>
0259               The X window handle ID, used for focus stealing prevention and setting modality.
0260             </doc:para>
0261           </doc:summary>
0262         </doc:doc>
0263       </arg>
0264       <arg type="as" name="packages" direction="in">
0265         <doc:doc>
0266           <doc:summary>
0267             <doc:para>
0268               An array of package names.
0269             </doc:para>
0270           </doc:summary>
0271         </doc:doc>
0272       </arg>
0273       <arg type="s" name="interaction" direction="in">
0274         <doc:doc>
0275           <doc:summary>
0276             <doc:para>
0277               An optional interaction mode, e.g.
0278               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>
0279             </doc:para>
0280           </doc:summary>
0281         </doc:doc>
0282       </arg>
0283     </method>
0284 
0285     <!--*****************************************************************************************-->
0286     <method name="InstallMimeTypes">
0287       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0288       <doc:doc>
0289         <doc:description>
0290           <doc:para>
0291             Installs mimetype handlers from a configured software source.
0292           </doc:para>
0293         </doc:description>
0294       </doc:doc>
0295       <arg type="u" name="xid" direction="in">
0296         <doc:doc>
0297           <doc:summary>
0298             <doc:para>
0299               The X window handle ID, used for focus stealing prevention and setting modality.
0300             </doc:para>
0301           </doc:summary>
0302         </doc:doc>
0303       </arg>
0304       <arg type="as" name="mime_types" direction="in">
0305         <doc:doc>
0306           <doc:summary>
0307             <doc:para>
0308               An array of mime types, e.g. <doc:tt>text/plain</doc:tt>
0309             </doc:para>
0310           </doc:summary>
0311         </doc:doc>
0312       </arg>
0313       <arg type="s" name="interaction" direction="in">
0314         <doc:doc>
0315           <doc:summary>
0316             <doc:para>
0317               An optional interaction mode, e.g.
0318               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>
0319             </doc:para>
0320           </doc:summary>
0321         </doc:doc>
0322       </arg>
0323     </method>
0324 
0325     <!--*****************************************************************************************-->
0326     <method name="InstallFontconfigResources">
0327       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0328       <doc:doc>
0329         <doc:description>
0330           <doc:para>
0331             Installs fontconfig resources (usually fonts) from a configured software source.
0332           </doc:para>
0333         </doc:description>
0334       </doc:doc>
0335       <arg type="u" name="xid" direction="in">
0336         <doc:doc>
0337           <doc:summary>
0338             <doc:para>
0339               The X window handle ID, used for focus stealing prevention and setting modality.
0340             </doc:para>
0341           </doc:summary>
0342         </doc:doc>
0343       </arg>
0344       <arg type="as" name="resources" direction="in">
0345         <doc:doc>
0346           <doc:summary>
0347             <doc:para>
0348               An array of font descriptors from fontconfig, e.g. <doc:tt>:lang=mn</doc:tt>
0349             </doc:para>
0350           </doc:summary>
0351         </doc:doc>
0352       </arg>
0353       <arg type="s" name="interaction" direction="in">
0354         <doc:doc>
0355           <doc:summary>
0356             <doc:para>
0357               An optional interaction mode, e.g.
0358               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>
0359             </doc:para>
0360           </doc:summary>
0361         </doc:doc>
0362       </arg>
0363     </method>
0364 
0365     <!--*****************************************************************************************-->
0366     <method name="InstallGStreamerResources">
0367       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0368       <doc:doc>
0369         <doc:description>
0370           <doc:para>
0371             Installs GStreamer fontconfig resources (usually codecs) from a configured software source.
0372           </doc:para>
0373         </doc:description>
0374       </doc:doc>
0375       <arg type="u" name="xid" direction="in">
0376         <doc:doc>
0377           <doc:summary>
0378             <doc:para>
0379               The X window handle ID, used for focus stealing prevention and setting modality.
0380             </doc:para>
0381           </doc:summary>
0382         </doc:doc>
0383       </arg>
0384       <arg type="as" name="resources" direction="in">
0385         <doc:doc>
0386           <doc:summary>
0387             <doc:para>
0388               An array of codecs descriptors from <doc:tt>pk-gstreamer-install</doc:tt>, e.g.
0389               <doc:tt>Advanced Streaming Format (ASF) demuxer|decoder-video/x-ms-asf</doc:tt>
0390             </doc:para>
0391           </doc:summary>
0392         </doc:doc>
0393       </arg>
0394       <arg type="s" name="interaction" direction="in">
0395         <doc:doc>
0396           <doc:summary>
0397             <doc:para>
0398               An optional interaction mode, e.g.
0399               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>
0400             </doc:para>
0401           </doc:summary>
0402         </doc:doc>
0403       </arg>
0404     </method>
0405 
0406     <!--*****************************************************************************************-->
0407     <method name="InstallResources">
0408       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0409       <doc:doc>
0410         <doc:description>
0411           <doc:para>
0412             Installs resources of a given type from a configured software source.
0413           </doc:para>
0414         </doc:description>
0415       </doc:doc>
0416       <arg type="u" name="xid" direction="in">
0417         <doc:doc>
0418           <doc:summary>
0419             <doc:para>
0420               The X window handle ID, used for focus stealing prevention and setting modality.
0421             </doc:para>
0422           </doc:summary>
0423         </doc:doc>
0424       </arg>
0425       <arg type="s" name="type" direction="in">
0426         <doc:doc>
0427           <doc:summary>
0428             <doc:para>
0429               The type of resource to request, e.g. <doc:tt>plasma-service</doc:tt>
0430             </doc:para>
0431           </doc:summary>
0432         </doc:doc>
0433       </arg>
0434       <arg type="as" name="resources" direction="in">
0435         <doc:doc>
0436           <doc:summary>
0437             <doc:para>
0438               An array of resource descriptors
0439             </doc:para>
0440           </doc:summary>
0441         </doc:doc>
0442       </arg>
0443       <arg type="s" name="interaction" direction="in">
0444         <doc:doc>
0445           <doc:summary>
0446             <doc:para>
0447               An optional interaction mode, e.g.
0448               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>
0449             </doc:para>
0450           </doc:summary>
0451         </doc:doc>
0452       </arg>
0453     </method>
0454 
0455     <!--*****************************************************************************************-->
0456     <method name="RemovePackageByFiles">
0457       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0458       <doc:doc>
0459         <doc:description>
0460           <doc:para>
0461             Removes packages that provide the given local files.
0462           </doc:para>
0463         </doc:description>
0464       </doc:doc>
0465       <arg type="u" name="xid" direction="in">
0466         <doc:doc>
0467           <doc:summary>
0468             <doc:para>
0469               The X window handle ID, used for focus stealing prevention and setting modality.
0470             </doc:para>
0471           </doc:summary>
0472         </doc:doc>
0473       </arg>
0474       <arg type="as" name="files" direction="in">
0475         <doc:doc>
0476           <doc:summary>
0477             <doc:para>
0478               An array of file names.
0479             </doc:para>
0480           </doc:summary>
0481         </doc:doc>
0482       </arg>
0483       <arg type="s" name="interaction" direction="in">
0484         <doc:doc>
0485           <doc:summary>
0486             <doc:para>
0487               An interaction mode that specifies which UI elements should be shown
0488               or hidden different from the user default, e.g.
0489               <doc:tt>hide-confirm-search,hide-confirm-deps,hide-confirm-install,show-progress</doc:tt>.
0490               The show options are:
0491               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>.
0492               The hide options are:
0493               <doc:tt>hide-confirm-search,hide-confirm-deps,hide-confirm-install,hide-progress,hide-finished,hide-warning</doc:tt>.
0494               Convenience options such as:
0495               <doc:tt>never</doc:tt>, <doc:tt>defaults</doc:tt> or <doc:tt>always</doc:tt>.
0496               are also available.
0497             </doc:para>
0498           </doc:summary>
0499         </doc:doc>
0500       </arg>
0501     </method>
0502 
0503     <method name="InstallPrinterDrivers">
0504       <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
0505       <doc:doc>
0506         <doc:description>
0507           <doc:para>
0508             Installs printer drivers from a configured software source.
0509           </doc:para>
0510         </doc:description>
0511       </doc:doc>
0512       <arg type="u" name="xid" direction="in">
0513         <doc:doc>
0514           <doc:summary>
0515             <doc:para>
0516               The X window handle ID, used for focus stealing prevention and setting modality.
0517             </doc:para>
0518           </doc:summary>
0519         </doc:doc>
0520       </arg>
0521       <arg type="as" name="resources" direction="in">
0522         <doc:doc>
0523           <doc:summary>
0524             <doc:para>
0525               An array of printer model descriptors in IEEE 1284
0526               Device ID format,
0527               e.g. <doc:tt>MFG:Hewlett-Packard;MDL:HP LaserJet
0528               6MP;</doc:tt>.
0529             </doc:para>
0530           </doc:summary>
0531         </doc:doc>
0532       </arg>
0533       <arg type="s" name="interaction" direction="in">
0534         <doc:doc>
0535           <doc:summary>
0536             <doc:para>
0537               An optional interaction mode, e.g.
0538               <doc:tt>show-confirm-search,show-confirm-deps,show-confirm-install,show-progress,show-finished,show-warning</doc:tt>
0539             </doc:para>
0540           </doc:summary>
0541         </doc:doc>
0542       </arg>
0543     </method>
0544   </interface>
0545 </node>
0546