/usr/share/gtk-doc/html/libfm/libfm-fm-file-launcher.html is in libfm-dev 0.1.17-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>fm-file-launcher</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Libfm Reference Manual">
<link rel="up" href="libfm.html" title="Libfm Overview">
<link rel="prev" href="FmConfig.html" title="FmConfig">
<link rel="next" href="FmBookmarks.html" title="FmBookmarks">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="FmConfig.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libfm.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Libfm Reference Manual</th>
<td><a accesskey="n" href="FmBookmarks.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libfm-fm-file-launcher.synopsis" class="shortcut">Top</a>
|
<a href="#libfm-fm-file-launcher.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libfm-fm-file-launcher"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libfm-fm-file-launcher.top_of_page"></a>fm-file-launcher</span></h2>
<p>fm-file-launcher</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libfm-fm-file-launcher.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="libfm-fm-file-launcher.html#FmFileLauncher" title="struct FmFileLauncher">FmFileLauncher</a>;
<span class="returnvalue">gboolean</span> (<a class="link" href="libfm-fm-file-launcher.html#FmLaunchFolderFunc" title="FmLaunchFolderFunc ()">*FmLaunchFolderFunc</a>) (<em class="parameter"><code><span class="type">GAppLaunchContext</span> *ctx</code></em>,
<em class="parameter"><code><span class="type">GList</span> *folder_infos</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libfm-fm-file-launcher.html#fm-launch-desktop-entry" title="fm_launch_desktop_entry ()">fm_launch_desktop_entry</a> (<em class="parameter"><code><span class="type">GAppLaunchContext</span> *ctx</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *file_or_id</code></em>,
<em class="parameter"><code><span class="type">GList</span> *uris</code></em>,
<em class="parameter"><code><a class="link" href="libfm-fm-file-launcher.html#FmFileLauncher" title="struct FmFileLauncher"><span class="type">FmFileLauncher</span></a> *launcher</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libfm-fm-file-launcher.html#fm-launch-files" title="fm_launch_files ()">fm_launch_files</a> (<em class="parameter"><code><span class="type">GAppLaunchContext</span> *ctx</code></em>,
<em class="parameter"><code><span class="type">GList</span> *file_infos</code></em>,
<em class="parameter"><code><a class="link" href="libfm-fm-file-launcher.html#FmFileLauncher" title="struct FmFileLauncher"><span class="type">FmFileLauncher</span></a> *launcher</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libfm-fm-file-launcher.html#fm-launch-paths" title="fm_launch_paths ()">fm_launch_paths</a> (<em class="parameter"><code><span class="type">GAppLaunchContext</span> *ctx</code></em>,
<em class="parameter"><code><span class="type">GList</span> *paths</code></em>,
<em class="parameter"><code><a class="link" href="libfm-fm-file-launcher.html#FmFileLauncher" title="struct FmFileLauncher"><span class="type">FmFileLauncher</span></a> *launcher</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libfm-fm-file-launcher.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="libfm-fm-file-launcher.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="FmFileLauncher"></a><h3>struct FmFileLauncher</h3>
<pre class="programlisting">struct FmFileLauncher {
GAppInfo* (*get_app)(GList* file_infos, FmMimeType* mime_type, gpointer user_data, GError** err);
/* gboolean (*before_open)(GAppLaunchContext* ctx, GList* folder_infos, gpointer user_data); */
gboolean (*open_folder)(GAppLaunchContext* ctx, GList* folder_infos, gpointer user_data, GError** err);
FmFileLauncherExecAction (*exec_file)(FmFileInfo* file, gpointer user_data);
gboolean (*error)(GAppLaunchContext* ctx, GError* err, gpointer user_data);
int (*ask)(const char* msg, const char** btn_labels, int default_btn, gpointer user_data);
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="FmLaunchFolderFunc"></a><h3>FmLaunchFolderFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> (*FmLaunchFolderFunc) (<em class="parameter"><code><span class="type">GAppLaunchContext</span> *ctx</code></em>,
<em class="parameter"><code><span class="type">GList</span> *folder_infos</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="fm-launch-desktop-entry"></a><h3>fm_launch_desktop_entry ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> fm_launch_desktop_entry (<em class="parameter"><code><span class="type">GAppLaunchContext</span> *ctx</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *file_or_id</code></em>,
<em class="parameter"><code><span class="type">GList</span> *uris</code></em>,
<em class="parameter"><code><a class="link" href="libfm-fm-file-launcher.html#FmFileLauncher" title="struct FmFileLauncher"><span class="type">FmFileLauncher</span></a> *launcher</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="fm-launch-files"></a><h3>fm_launch_files ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> fm_launch_files (<em class="parameter"><code><span class="type">GAppLaunchContext</span> *ctx</code></em>,
<em class="parameter"><code><span class="type">GList</span> *file_infos</code></em>,
<em class="parameter"><code><a class="link" href="libfm-fm-file-launcher.html#FmFileLauncher" title="struct FmFileLauncher"><span class="type">FmFileLauncher</span></a> *launcher</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="fm-launch-paths"></a><h3>fm_launch_paths ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> fm_launch_paths (<em class="parameter"><code><span class="type">GAppLaunchContext</span> *ctx</code></em>,
<em class="parameter"><code><span class="type">GList</span> *paths</code></em>,
<em class="parameter"><code><a class="link" href="libfm-fm-file-launcher.html#FmFileLauncher" title="struct FmFileLauncher"><span class="type">FmFileLauncher</span></a> *launcher</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|