forked from linuxmint/cinnamon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cinnamon-doc-system.h
47 lines (34 loc) · 1.87 KB
/
cinnamon-doc-system.h
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
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#ifndef __CINNAMON_DOC_SYSTEM_H__
#define __CINNAMON_DOC_SYSTEM_H__
#include <gio/gio.h>
#include <gtk/gtk.h>
#define CINNAMON_TYPE_DOC_SYSTEM (cinnamon_doc_system_get_type ())
#define CINNAMON_DOC_SYSTEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CINNAMON_TYPE_DOC_SYSTEM, CinnamonDocSystem))
#define CINNAMON_DOC_SYSTEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CINNAMON_TYPE_DOC_SYSTEM, CinnamonDocSystemClass))
#define CINNAMON_IS_DOC_SYSTEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CINNAMON_TYPE_DOC_SYSTEM))
#define CINNAMON_IS_DOC_SYSTEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CINNAMON_TYPE_DOC_SYSTEM))
#define CINNAMON_DOC_SYSTEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CINNAMON_TYPE_DOC_SYSTEM, CinnamonDocSystemClass))
typedef struct _CinnamonDocSystem CinnamonDocSystem;
typedef struct _CinnamonDocSystemClass CinnamonDocSystemClass;
typedef struct _CinnamonDocSystemPrivate CinnamonDocSystemPrivate;
struct _CinnamonDocSystem
{
GObject parent;
CinnamonDocSystemPrivate *priv;
};
struct _CinnamonDocSystemClass
{
GObjectClass parent_class;
};
GType cinnamon_doc_system_get_type (void) G_GNUC_CONST;
CinnamonDocSystem* cinnamon_doc_system_get_default (void);
GSList *cinnamon_doc_system_get_all (CinnamonDocSystem *system);
GtkRecentInfo *cinnamon_doc_system_lookup_by_uri (CinnamonDocSystem *system,
const char *uri);
void cinnamon_doc_system_queue_existence_check (CinnamonDocSystem *system,
guint n_items);
void cinnamon_doc_system_open (CinnamonDocSystem *system,
GtkRecentInfo *info,
int workspace);
#endif /* __CINNAMON_DOC_SYSTEM_H__ */