geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

geanyobject.h
Go to the documentation of this file.
1/*
2 * geanyobject.h - this file is part of Geany, a fast and lightweight IDE
3 *
4 * Copyright 2007 The Geany contributors
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21
22#ifndef GEANY_OBJECT_H
23#define GEANY_OBJECT_H 1
24
25#include "document.h"
26#include "editor.h"
27#include "filetypes.h"
28
29#include "Scintilla.h"
30
31#include "gtkcompat.h"
32
33
34G_BEGIN_DECLS
35
36typedef enum
37{
63
64
65#define GEANY_OBJECT_TYPE (geany_object_get_type())
66#define GEANY_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),\
67 GEANY_OBJECT_TYPE, GeanyObject))
68#define GEANY_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),\
69 GEANY_OBJECT_TYPE, GeanyObjectClass))
70#define IS_GEANY_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),\
71 GEANY_OBJECT_TYPE))
72#define IS_GEANY_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),\
73 GEANY_OBJECT_TYPE))
74
77
78/** @gironly
79 * Instance structure for GeanyObject */
81{
82 GObject parent;
83 /* add your public declarations here */
84};
85
86extern GObject *geany_object;
87
88/** @gironly
89 * Class structure for @a GeanyObject */
91{
92 GObjectClass parent_class;
93};
94
96GObject* geany_object_new (void);
97
98G_END_DECLS
99
100#endif /* GEANY_OBJECT_H */
Interface to the edit control.
Document related actions: new, save, open, etc.
Editor-related functions for GeanyEditor.
Filetype detection, file extensions and filetype menu items.
GeanyCallbackId
Definition: geanyobject.h:37
@ GCB_EDITOR_NOTIFY
Definition: geanyobject.h:54
@ GCB_DOCUMENT_FILETYPE_SET
Definition: geanyobject.h:43
@ GCB_DOCUMENT_ACTIVATE
Definition: geanyobject.h:44
@ GCB_DOCUMENT_CLOSE
Definition: geanyobject.h:45
@ GCB_MAX
Definition: geanyobject.h:60
@ GCB_DOCUMENT_SAVE
Definition: geanyobject.h:42
@ GCB_PROJECT_CLOSE
Definition: geanyobject.h:48
@ GCB_PROJECT_DIALOG_OPEN
Definition: geanyobject.h:50
@ GCB_GEANY_STARTUP_COMPLETE
Definition: geanyobject.h:55
@ GCB_PROJECT_DIALOG_CLOSE
Definition: geanyobject.h:52
@ GCB_PROJECT_OPEN
Definition: geanyobject.h:46
@ GCB_KEY_PRESS_NOTIFY
Definition: geanyobject.h:59
@ GCB_DOCUMENT_BEFORE_SAVE
Definition: geanyobject.h:41
@ GCB_SAVE_SETTINGS
Definition: geanyobject.h:57
@ GCB_PROJECT_DIALOG_CONFIRMED
Definition: geanyobject.h:51
@ GCB_DOCUMENT_OPEN
Definition: geanyobject.h:39
@ GCB_LOAD_SETTINGS
Definition: geanyobject.h:58
@ GCB_DOCUMENT_NEW
Definition: geanyobject.h:38
@ GCB_PROJECT_SAVE
Definition: geanyobject.h:47
@ GCB_DOCUMENT_RELOAD
Definition: geanyobject.h:40
@ GCB_UPDATE_EDITOR_MENU
Definition: geanyobject.h:53
@ GCB_PROJECT_BEFORE_CLOSE
Definition: geanyobject.h:49
@ GCB_BUILD_START
Definition: geanyobject.h:56
GObject * geany_object
Definition: geanyobject.c:41
GType geany_object_get_type(void)
GObject * geany_object_new(void)
Definition: geanyobject.c:260
GObjectClass parent_class
Definition: geanyobject.h:92
GObject parent
Definition: geanyobject.h:82