2
* Copyright (C) 2010-2011 Canonical Ltd
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 3 as
6
* published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
* Authored by: Jason Smith <jason.smith@canonical.com>
17
* Marco Trevisan (Treviño) <3v1n0@ubuntu.com>
21
#ifndef __BAMF_UNITY_WEBAPPS_TAB_H__
22
#define __BAMF_UNITY_WEBAPPS_TAB_H__
24
#include <unity-webapps-context.h>
26
#include "bamf-legacy-window.h"
30
#define BAMF_TYPE_UNITY_WEBAPPS_TAB (bamf_unity_webapps_tab_get_type ())
31
#define BAMF_UNITY_WEBAPPS_TAB(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BAMF_TYPE_UNITY_WEBAPPS_TAB, BamfUnityWebappsTab))
32
#define BAMF_IS_UNITY_WEBAPPS_TAB(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BAMF_TYPE_UNITY_WEBAPPS_TAB))
33
#define BAMF_UNITY_WEBAPPS_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BAMF_TYPE_UNITY_WEBAPPS_TAB, BamfUnityWebappsTabClass))
34
#define BAMF_IS_UNITY_WEBAPPS_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BAMF_TYPE_UNITY_WEBAPPS_TAB))
35
#define BAMF_UNITY_WEBAPPS_TAB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BAMF_TYPE_UNITY_WEBAPPS_TAB, BamfUnityWebappsUnityWebappsTabClass))
37
typedef struct _BamfUnityWebappsTab BamfUnityWebappsTab;
38
typedef struct _BamfUnityWebappsTabClass BamfUnityWebappsTabClass;
39
typedef struct _BamfUnityWebappsTabPrivate BamfUnityWebappsTabPrivate;
41
struct _BamfUnityWebappsTabClass
46
struct _BamfUnityWebappsTab
51
BamfUnityWebappsTabPrivate *priv;
54
GType bamf_unity_webapps_tab_get_type (void) G_GNUC_CONST;
56
BamfUnityWebappsTab *bamf_unity_webapps_tab_new (UnityWebappsContext *context, gint interest_id);
58
gint bamf_unity_webapps_tab_get_interest_id (BamfUnityWebappsTab *tab);
59
BamfLegacyWindow* bamf_unity_webapps_tab_get_legacy_window_for(BamfUnityWebappsTab *tab);