summaryrefslogtreecommitdiffstats
path: root/src/palimpsest/gdu-section-encrypted.h
blob: 4305649d61f0cbda541ad78dd96cabc25c98b6cc (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
/* gdu-section-encrypted.h
 *
 * Copyright (C) 2007 David Zeuthen
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 */

#include <gtk/gtk.h>
#include "gdu-section.h"

#ifndef GDU_SECTION_ENCRYPTED_H
#define GDU_SECTION_ENCRYPTED_H

#define GDU_TYPE_SECTION_ENCRYPTED             (gdu_section_encrypted_get_type ())
#define GDU_SECTION_ENCRYPTED(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDU_TYPE_SECTION_ENCRYPTED, GduSectionEncrypted))
#define GDU_SECTION_ENCRYPTED_CLASS(obj)       (G_TYPE_CHECK_CLASS_CAST ((obj), GDU_SECTION_ENCRYPTED,  GduSectionEncryptedClass))
#define GDU_IS_SECTION_ENCRYPTED(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDU_TYPE_SECTION_ENCRYPTED))
#define GDU_IS_SECTION_ENCRYPTED_CLASS(obj)    (G_TYPE_CHECK_CLASS_TYPE ((obj), GDU_TYPE_SECTION_ENCRYPTED))
#define GDU_SECTION_ENCRYPTED_GET_CLASS        (G_TYPE_INSTANCE_GET_CLASS ((obj), GDU_TYPE_SECTION_ENCRYPTED, GduSectionEncryptedClass))

typedef struct _GduSectionEncryptedClass       GduSectionEncryptedClass;
typedef struct _GduSectionEncrypted            GduSectionEncrypted;

struct _GduSectionEncryptedPrivate;
typedef struct _GduSectionEncryptedPrivate     GduSectionEncryptedPrivate;

struct _GduSectionEncrypted
{
        GduSection parent;

        /* private */
        GduSectionEncryptedPrivate *priv;
};

struct _GduSectionEncryptedClass
{
        GduSectionClass parent_class;
};

GType            gdu_section_encrypted_get_type (void);
GtkWidget       *gdu_section_encrypted_new      (GduShell       *shell,
                                                 GduPresentable *presentable);

#endif /* GDU_SECTION_ENCRYPTED_H */