2009-11-29 22:35:35 +00:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
#ifndef __SHELL_DOC_SYSTEM_H__
|
|
|
|
#define __SHELL_DOC_SYSTEM_H__
|
|
|
|
|
|
|
|
#include <gio/gio.h>
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
#define SHELL_TYPE_DOC_SYSTEM (shell_doc_system_get_type ())
|
|
|
|
#define SHELL_DOC_SYSTEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SHELL_TYPE_DOC_SYSTEM, ShellDocSystem))
|
|
|
|
#define SHELL_DOC_SYSTEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SHELL_TYPE_DOC_SYSTEM, ShellDocSystemClass))
|
|
|
|
#define SHELL_IS_DOC_SYSTEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SHELL_TYPE_DOC_SYSTEM))
|
|
|
|
#define SHELL_IS_DOC_SYSTEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SHELL_TYPE_DOC_SYSTEM))
|
|
|
|
#define SHELL_DOC_SYSTEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SHELL_TYPE_DOC_SYSTEM, ShellDocSystemClass))
|
|
|
|
|
|
|
|
typedef struct _ShellDocSystem ShellDocSystem;
|
|
|
|
typedef struct _ShellDocSystemClass ShellDocSystemClass;
|
|
|
|
typedef struct _ShellDocSystemPrivate ShellDocSystemPrivate;
|
|
|
|
|
|
|
|
struct _ShellDocSystem
|
|
|
|
{
|
|
|
|
GObject parent;
|
|
|
|
|
|
|
|
ShellDocSystemPrivate *priv;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _ShellDocSystemClass
|
|
|
|
{
|
|
|
|
GObjectClass parent_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
GType shell_doc_system_get_type (void) G_GNUC_CONST;
|
|
|
|
|
|
|
|
ShellDocSystem* shell_doc_system_get_default (void);
|
|
|
|
|
|
|
|
GSList *shell_doc_system_get_all (ShellDocSystem *system);
|
|
|
|
|
|
|
|
GtkRecentInfo *shell_doc_system_lookup_by_uri (ShellDocSystem *system,
|
|
|
|
const char *uri);
|
|
|
|
|
|
|
|
void shell_doc_system_queue_existence_check (ShellDocSystem *system,
|
2010-09-15 00:56:34 +00:00
|
|
|
guint n_items);
|
2009-11-29 22:35:35 +00:00
|
|
|
|
|
|
|
void shell_doc_system_open (ShellDocSystem *system,
|
2011-01-30 21:09:58 +00:00
|
|
|
GtkRecentInfo *info,
|
|
|
|
int workspace);
|
2009-11-29 22:35:35 +00:00
|
|
|
|
|
|
|
#endif /* __SHELL_DOC_SYSTEM_H__ */
|