blob: b2d274a4323e24e9b628a08944e2b29361011a8b (
plain)
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
|
#pragma once
#include <glib-object.h>
#include <gio/gio.h>
G_BEGIN_DECLS
#define FOOBAR_TYPE_LAUNCHER_ITEM foobar_launcher_item_get_type( )
G_DECLARE_INTERFACE( FoobarLauncherItem, foobar_launcher_item, FOOBAR, LAUNCHER_ITEM, GObject )
struct _FoobarLauncherItemInterface
{
GTypeInterface parent_interface;
gchar const* ( *get_title ) ( FoobarLauncherItem* self );
gchar const* ( *get_description )( FoobarLauncherItem* self );
GIcon* ( *get_icon ) ( FoobarLauncherItem* self );
void ( *activate ) ( FoobarLauncherItem* self );
};
gchar const* foobar_launcher_item_get_title ( FoobarLauncherItem* self );
gchar const* foobar_launcher_item_get_description( FoobarLauncherItem* self );
GIcon* foobar_launcher_item_get_icon ( FoobarLauncherItem* self );
void foobar_launcher_item_activate ( FoobarLauncherItem* self );
G_END_DECLS
|