/usr/include/launchpad-integration/launchpad-integration.h is in liblaunchpad-integration-dev 0.1.56.
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 | /* -*- mode: C; c-basic-offset: 4 -*- */
#include <gtk/gtk.h>
G_BEGIN_DECLS
/* set the source package name to point the menu items at.
* If this is not set, then the source package name will be
* inferred from the process ID and dpkg database (if possible).
*/
void launchpad_integration_set_sourcepackagename (const char *name);
/* callbacks to invoke launchpad on the given URLs */
void launchpad_integration_show_info (void);
void launchpad_integration_show_translations (void);
void launchpad_integration_show_bugs (void);
/* returns an action group containing actions for the above */
GtkActionGroup *launchpad_integration_get_action_group (void);
/* adds the action group to the UI, and creates UI nodes at the given
* UI path */
void launchpad_integration_add_ui (GtkUIManager *ui,
const char *path);
/* Same as the above function, but allows optional separators to be added
* before and after the UI nodes. This is useful when the launchpad-integration
* script cannot be found in the path, and having two manually added separators
* to the menu looks out of place. */
void launchpad_integration_add_ui_with_separators (GtkUIManager *ui,
const char *path,
gboolean separator_before,
gboolean separator_after);
/* Add launchpad integration menu items to the given menu at the given
* position. If the position is negative, then it is used as an index
* from the end of the menu.
* The 3rd and 4th arguments are used to say whether to add a separator
* before and/or after the items. */
void launchpad_integration_add_items (GtkWidget *helpmenu,
int position,
gboolean separator_before,
gboolean separator_after);
/* Used, but not prototyped until now. */
void launchpad_integration_add_item_factory ();
G_END_DECLS
|