~ubuntu-branches/ubuntu/oneiric/midori/oneiric-updates

« back to all changes in this revision

Viewing changes to panels/midori-console.h

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2011-02-01 20:27:20 UTC
  • mfrom: (1.1.14 upstream) (3.3.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110201202720-xobt459otz1m6sas
Tags: 0.3.0-1.1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - debian/control, debian/rules:
    + Change build-depends from libwebkit-dev to libwebkitgtk-dev.
* debian/patches/desktop-scheme-handler-types:
  - Dropped, fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 Copyright (C) 2008 Christian Dywan <christian@twotoasts.de>
3
 
 
4
 
 This library is free software; you can redistribute it and/or
5
 
 modify it under the terms of the GNU Lesser General Public
6
 
 License as published by the Free Software Foundation; either
7
 
 version 2.1 of the License, or (at your option) any later version.
8
 
 
9
 
 See the file COPYING for the full license text.
10
 
*/
11
 
 
12
 
#ifndef __MIDORI_CONSOLE_H__
13
 
#define __MIDORI_CONSOLE_H__
14
 
 
15
 
#include <gtk/gtk.h>
16
 
 
17
 
#include <katze/katze.h>
18
 
 
19
 
#include "midori-viewable.h"
20
 
 
21
 
G_BEGIN_DECLS
22
 
 
23
 
#define MIDORI_TYPE_CONSOLE \
24
 
    (midori_console_get_type ())
25
 
#define MIDORI_CONSOLE(obj) \
26
 
    (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIDORI_TYPE_CONSOLE, MidoriConsole))
27
 
#define MIDORI_CONSOLE_CLASS(klass) \
28
 
    (G_TYPE_CHECK_CLASS_CAST ((klass), MIDORI_TYPE_CONSOLE, MidoriConsoleClass))
29
 
#define MIDORI_IS_CONSOLE(obj) \
30
 
    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIDORI_TYPE_CONSOLE))
31
 
#define MIDORI_IS_CONSOLE_CLASS(klass) \
32
 
    (G_TYPE_CHECK_CLASS_TYPE ((klass), MIDORI_TYPE_CONSOLE))
33
 
#define MIDORI_CONSOLE_GET_CLASS(obj) \
34
 
    (G_TYPE_INSTANCE_GET_CLASS ((obj), MIDORI_TYPE_CONSOLE, MidoriConsoleClass))
35
 
 
36
 
typedef struct _MidoriConsole                MidoriConsole;
37
 
typedef struct _MidoriConsoleClass           MidoriConsoleClass;
38
 
 
39
 
GType
40
 
midori_console_get_type               (void);
41
 
 
42
 
GtkWidget*
43
 
midori_console_new                    (void);
44
 
 
45
 
GtkWidget*
46
 
midori_console_get_toolbar            (MidoriViewable*      console);
47
 
 
48
 
void
49
 
midori_console_add                    (MidoriConsole*       console,
50
 
                                       const gchar*         message,
51
 
                                       gint                 line,
52
 
                                       const gchar*         source_id);
53
 
 
54
 
G_END_DECLS
55
 
 
56
 
#endif /* __MIDORI_CONSOLE_H__ */