aboutsummaryrefslogtreecommitdiffstats
path: root/notes/e-note.h
blob: d7d4c63b954b673c0274998ff0a14bce07e76193 (plain) (blame)
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
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */

#ifndef __E_NOTE_H__
#define __E_NOTE_H__

#include <config.h>
#include <gnome.h>
#include "e-bevel-button.h"

#define E_TYPE_NOTE            (e_note_get_type ())
#define E_NOTE(obj)            (GTK_CHECK_CAST ((obj), E_TYPE_NOTE, ENote))
#define E_NOTE_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_NOTE, ENoteClass))
#define E_IS_NOTE(obj)         (GTK_CHECK_TYPE ((obj), E_TYPE_NOTE))
#define E_IS_NOTE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_NOTE))

typedef struct _ENote ENote;
typedef struct _ENotePrivate ENotePrivate;
typedef struct _ENoteClass ENoteClass;

struct _ENote {
    GtkWindow parent;

    ENotePrivate *priv;
};

struct _ENoteClass {
    GtkWindowClass parent_class;

    void (* text_changed) (ENote *note);
};

GtkType e_note_get_type (void);
GtkWidget *e_note_new (void);
void e_note_set_text (ENote *note, gchar *text);
gchar *e_note_get_text (ENote *note);

#endif /* __E_NOTE_H__ */
class='deletions'>-3/+3 * Update to 0.9.1.jkim2013-10-262-4/+4 * Stagifybapt2013-10-041-9/+8 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-1/+1 * - Update to 0.9.0sunpoet2013-09-094-9/+10 * Install mdds.pc. It is required by LibreOffice 4.1.jkim2013-06-262-0/+9 * Update to 0.8.1.jkim2013-05-222-3/+3 * Update to 0.8.0.jkim2013-05-213-3/+5 * Update to 0.7.1.jkim2013-03-202-3/+3 * Update to 0.6.1.jkim2012-10-093-21/+4 * - Update to 0.6.0.jkim2012-08-18