~ubuntu-branches/ubuntu/oneiric/libpeas/oneiric

« back to all changes in this revision

Viewing changes to libpeas/peas-activatable.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Martin Pitt, Oliver Sauder
  • Date: 2011-09-05 08:41:48 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: package-import@ubuntu.com-20110905084148-u4qhltt1ipo2frj9
Tags: 1.1.3-0ubuntu1
[ Martin Pitt ]
* New upstream release:
  - Link against pygobject 3. (LP: #839712)
  - Do not cast pointers to unsigned integers.
* Drop debian/patches/gint_is_not_gtype, upstream now.
* debian/control.in: Bump python-gobject-dev build dependency to >= 2.90 as
  per upstream configure.ac.
* debian/control.in: Move valac-0.12 to valac to use 0.14.

[ Oliver Sauder ]
* Added peas-gtk vapi file libpeas-gtk-1.0.vapi (LP: #825834) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 *
17
17
 *  You should have received a copy of the GNU Library General Public License
18
18
 *  along with this program; if not, write to the Free Software
19
 
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
19
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
20
 */
21
21
 
22
22
#ifndef __PEAS_ACTIVATABLE_H__
35
35
#define PEAS_IS_ACTIVATABLE(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PEAS_TYPE_ACTIVATABLE))
36
36
#define PEAS_ACTIVATABLE_GET_IFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), PEAS_TYPE_ACTIVATABLE, PeasActivatableInterface))
37
37
 
 
38
/**
 
39
 * PeasActivatable:
 
40
 *
 
41
 * Interface for activatable plugins.
 
42
 */
38
43
typedef struct _PeasActivatable           PeasActivatable; /* dummy typedef */
39
44
typedef struct _PeasActivatableInterface  PeasActivatableInterface;
40
45
 
 
46
/**
 
47
 * PeasActivatableInterface:
 
48
 * @g_iface: The parent interface.
 
49
 * @activate: Activates the plugin.
 
50
 * @deactivate: Deactivates the plugin.
 
51
 * @update_state: Updates the plugin's internal state to take account of
 
52
 *  a change in the target object's state.
 
53
 *
 
54
 * Provides an interface for activatable plugins.
 
55
 */
41
56
struct _PeasActivatableInterface {
42
57
  GTypeInterface g_iface;
43
58