Blame ui/gcr-viewer-window.h

Packit Service f02b19
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
Packit Service f02b19
/* gcr-viewer-window.h: Window for viewer
Packit Service f02b19
Packit Service f02b19
   Copyright (C) 2011 Collabora Ltd.
Packit Service f02b19
Packit Service f02b19
   The Gnome Keyring Library is free software; you can redistribute it and/or
Packit Service f02b19
   modify it under the terms of the GNU Library General Public License as
Packit Service f02b19
   published by the Free Software Foundation; either version 2 of the
Packit Service f02b19
   License, or (at your option) any later version.
Packit Service f02b19
Packit Service f02b19
   The Gnome Keyring Library is distributed in the hope that it will be useful,
Packit Service f02b19
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service f02b19
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service f02b19
   Library General Public License for more details.
Packit Service f02b19
Packit Service f02b19
   You should have received a copy of the GNU Library General Public
Packit Service f02b19
   License along with the Gnome Library; see the file COPYING.LIB.  If not,
Packit Service f02b19
   see <http://www.gnu.org/licenses/>.
Packit Service f02b19
Packit Service f02b19
   Author: Stef Walter <stefw@collabora.co.uk>
Packit Service f02b19
*/
Packit Service f02b19
Packit Service f02b19
#ifndef GCR_VIEWER_WINDOW_H
Packit Service f02b19
#define GCR_VIEWER_WINDOW_H
Packit Service f02b19
Packit Service f02b19
#include <gtk/gtk.h>
Packit Service f02b19
Packit Service f02b19
#ifndef GCR_DISABLE_DEPRECATED
Packit Service f02b19
Packit Service f02b19
#include "gcr/gcr.h"
Packit Service f02b19
Packit Service f02b19
#define GCR_TYPE_VIEWER_WINDOW               (gcr_viewer_window_get_type ())
Packit Service f02b19
#define GCR_VIEWER_WINDOW(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_VIEWER_WINDOW, GcrViewerWindow))
Packit Service f02b19
#define GCR_VIEWER_WINDOW_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_VIEWER_WINDOW, GcrViewerWindowClass))
Packit Service f02b19
#define GCR_IS_VIEWER_WINDOW(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_VIEWER_WINDOW))
Packit Service f02b19
#define GCR_IS_VIEWER_WINDOW_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_VIEWER_WINDOW))
Packit Service f02b19
#define GCR_VIEWER_WINDOW_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_VIEWER_WINDOW, GcrViewerWindowClass))
Packit Service f02b19
Packit Service f02b19
typedef struct _GcrViewerWindow GcrViewerWindow;
Packit Service f02b19
typedef struct _GcrViewerWindowClass GcrViewerWindowClass;
Packit Service f02b19
typedef struct _GcrViewerWindowPrivate GcrViewerWindowPrivate;
Packit Service f02b19
Packit Service f02b19
struct _GcrViewerWindow {
Packit Service f02b19
	/*< private >*/
Packit Service f02b19
	GtkWindow parent;
Packit Service f02b19
	GcrViewerWindowPrivate *pv;
Packit Service f02b19
};
Packit Service f02b19
Packit Service f02b19
struct _GcrViewerWindowClass {
Packit Service f02b19
	/*< private >*/
Packit Service f02b19
	GtkWindowClass parent_class;
Packit Service f02b19
};
Packit Service f02b19
Packit Service f02b19
GType              gcr_viewer_window_get_type         (void);
Packit Service f02b19
Packit Service f02b19
GtkWindow *        gcr_viewer_window_new              (void);
Packit Service f02b19
Packit Service f02b19
void               gcr_viewer_window_load             (GcrViewerWindow *self,
Packit Service f02b19
                                                       GFile *file);
Packit Service f02b19
Packit Service f02b19
GcrViewer *        gcr_viewer_window_get_viewer       (GcrViewerWindow *self);
Packit Service f02b19
Packit Service f02b19
#endif /* GCR_DISABLE_DEPRECATED */
Packit Service f02b19
Packit Service f02b19
#endif /* GCR_VIEWER_WINDOW_H */