/usr/include/libunity-webapps-repository/unity-webapps-available-application.h is in libunity-webapps-dev 2.5.0~+16.04.20160201-0ubuntu1.
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 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* unity-webapps-available-application.h
* Copyright (C) Canonical LTD 2011
*
* Author: Robert Carr <racarr@canonical.com>
*
unity-webapps 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 3 of the License, or
* (at your option) any later version.
*
* unity-webapps 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 program. If not, see <http://www.gnu.org/licenses/>.";
*/
#ifndef __UNITY_WEBAPPS_AVAILABLE_APPLICATION_H
#define __UNITY_WEBAPPS_AVAILABLE_APPLICATION_H
#include <glib-object.h>
#define UNITY_WEBAPPS_TYPE_AVAILABLE_APPLICATION (unity_webapps_available_application_get_type())
#define UNITY_WEBAPPS_AVAILABLE_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), UNITY_WEBAPPS_TYPE_AVAILABLE_APPLICATION, UnityWebappsAvailableApplication))
#define UNITY_WEBAPPS_AVAILABLE_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), UNITY_WEBAPPS_TYPE_AVAILABLE_APPLICATION, UnityWebappsAvailableApplicationClass))
#define UNITY_WEBAPPS_IS_AVAILABLE_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), UNITY_WEBAPPS_TYPE_AVAILABLE_APPLICATION))
#define UNITY_WEBAPPS_IS_AVAILABLE_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_WEBAPPS_TYPE_AVAILABLE_APPLICATION))
#define UNITY_WEBAPPS_AVAILABLE_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), UNITY_WEBAPPS_TYPE_AVAILABLE_APPLICATION, UnityWebappsAvailableApplicationClass))
typedef struct _UnityWebappsAvailableApplicationPrivate UnityWebappsAvailableApplicationPrivate;
typedef struct _UnityWebappsAvailableApplication UnityWebappsAvailableApplication;
typedef void (*UnityWebappsAvailableApplicationInstalledQueryCallback) (UnityWebappsAvailableApplication *application,
gboolean installed,
gpointer user_data);
struct _UnityWebappsAvailableApplication {
GObject object;
UnityWebappsAvailableApplicationPrivate *priv;
};
typedef struct _UnityWebappsAvailableApplicationClass UnityWebappsAvailableApplicationClass;
struct _UnityWebappsAvailableApplicationClass
{
GObjectClass parent_class;
/* Package name */
const gchar *(*get_name) (UnityWebappsAvailableApplication *self);
/* Application name */
const gchar *(*get_application_name) (UnityWebappsAvailableApplication *self);
const gchar *(*get_application_domain) (UnityWebappsAvailableApplication *self);
void (*get_is_installed) (UnityWebappsAvailableApplication *self,
UnityWebappsAvailableApplicationInstalledQueryCallback callback,
gpointer user_data);
};
GType unity_webapps_available_application_get_type (void) G_GNUC_CONST;
const gchar *unity_webapps_available_application_get_name (UnityWebappsAvailableApplication *application);
const gchar *unity_webapps_available_application_get_application_name (UnityWebappsAvailableApplication *application);
const gchar *unity_webapps_available_application_get_application_domain (UnityWebappsAvailableApplication *application);
void unity_webapps_available_application_get_is_installed (UnityWebappsAvailableApplication *self,
UnityWebappsAvailableApplicationInstalledQueryCallback callback,
gpointer user_data);
#endif
|