~bregma/bamf/lp-1415052

« back to all changes in this revision

Viewing changes to src/bamf-unity-webapps-tab.h

  • Committer: CI bot
  • Author(s): Alexandre Abreu
  • Date: 2014-04-08 16:43:30 UTC
  • mfrom: (597.1.3 remove-webapps)
  • Revision ID: ps-jenkins@lists.canonical.com-20140408164330-iz0zq1mm6ylv8d31
Rip out vestigial webapps code (LP: #1280337) Fixes: 1280337

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2010-2011 Canonical Ltd
3
 
 *
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.
7
 
 *
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.
12
 
 *
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/>.
15
 
 *
16
 
 * Authored by: Jason Smith <jason.smith@canonical.com>
17
 
 *              Marco Trevisan (Treviño) <3v1n0@ubuntu.com>
18
 
 *
19
 
 */
20
 
 
21
 
#ifndef __BAMF_UNITY_WEBAPPS_TAB_H__
22
 
#define __BAMF_UNITY_WEBAPPS_TAB_H__
23
 
 
24
 
#include <unity-webapps-context.h>
25
 
 
26
 
#include "bamf-legacy-window.h"
27
 
#include "bamf-tab.h"
28
 
 
29
 
 
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))
36
 
 
37
 
typedef struct _BamfUnityWebappsTab BamfUnityWebappsTab;
38
 
typedef struct _BamfUnityWebappsTabClass BamfUnityWebappsTabClass;
39
 
typedef struct _BamfUnityWebappsTabPrivate BamfUnityWebappsTabPrivate;
40
 
 
41
 
struct _BamfUnityWebappsTabClass
42
 
{
43
 
  BamfTabClass parent;
44
 
};
45
 
 
46
 
struct _BamfUnityWebappsTab
47
 
{
48
 
  BamfTab parent;
49
 
 
50
 
  /* private */
51
 
  BamfUnityWebappsTabPrivate *priv;
52
 
};
53
 
 
54
 
GType       bamf_unity_webapps_tab_get_type    (void) G_GNUC_CONST;
55
 
 
56
 
BamfUnityWebappsTab *bamf_unity_webapps_tab_new (UnityWebappsContext *context, gint interest_id);
57
 
 
58
 
gint bamf_unity_webapps_tab_get_interest_id (BamfUnityWebappsTab *tab);
59
 
BamfLegacyWindow* bamf_unity_webapps_tab_get_legacy_window_for(BamfUnityWebappsTab *tab);
60
 
 
61
 
 
62
 
#endif