~ubuntu-branches/ubuntu/natty/geany/natty

« back to all changes in this revision

Viewing changes to plugins/pluginmacros.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-08-07 03:23:12 UTC
  • mfrom: (1.4.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20100807032312-ot70ac9d50cn79we
Tags: upstream-0.19
Import upstream version 0.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *      pluginmacros.h - this file is part of Geany, a fast and lightweight IDE
3
 
 *
4
 
 *      Copyright 2007-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5
 
 *      Copyright 2007-2010 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
6
 
 *
7
 
 *      This program is free software; you can redistribute it and/or modify
8
 
 *      it under the terms of the GNU General Public License as published by
9
 
 *      the Free Software Foundation; either version 2 of the License, or
10
 
 *      (at your option) any later version.
11
 
 *
12
 
 *      This program is distributed in the hope that it will be useful,
13
 
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
 *      GNU General Public License for more details.
16
 
 *
17
 
 *      You should have received a copy of the GNU General Public License
18
 
 *      along with this program; if not, write to the Free Software
19
 
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
 
 *      MA 02110-1301, USA.
21
 
 *
22
 
 * $Id: pluginmacros.h 4630 2010-01-31 21:54:47Z eht16 $
23
 
 */
24
 
 
25
 
/** @file pluginmacros.h
26
 
 * @deprecated Use geanyfunctions.h instead.
27
 
 * Macros to avoid typing @c geany_functions-> so often.
28
 
 *
29
 
 * @section function_macros Function Macros
30
 
 * These macros are named the same as the first word in the core function name,
31
 
 * but with a 'p_' prefix to prevent conflicts with other tag names.
32
 
 *
33
 
 * Example for @c document_open_file(): @c p_document->open_file(); */
34
 
 
35
 
 
36
 
#ifndef PLUGINMACROS_H
37
 
#define PLUGINMACROS_H
38
 
 
39
 
/* common items */
40
 
#define documents_array geany_data->documents_array             /**< @deprecated Use @c geany->documents_array->len and document_index() instead. */
41
 
#define filetypes_array geany_data->filetypes_array             /**< @deprecated Use @c geany->filetypes_array->len and filetypes_index() instead. */
42
 
 
43
 
 
44
 
/* function group macros */
45
 
#define p_editor                geany_functions->p_editor               /**< See editor.h */
46
 
#define p_document              geany_functions->p_document             /**< See document.h */
47
 
#define p_dialogs               geany_functions->p_dialogs              /**< See dialogs.h */
48
 
#define p_encodings             geany_functions->p_encodings    /**< See encodings.h */
49
 
#define p_filetypes             geany_functions->p_filetypes    /**< See filetypes.h */
50
 
#define p_highlighting  geany_functions->p_highlighting /**< See highlighting.h */
51
 
#define p_keybindings   geany_functions->p_keybindings  /**< See keybindings.h */
52
 
#define p_main                  geany_functions->p_main                 /**< See main.h */
53
 
#define p_msgwindow             geany_functions->p_msgwindow    /**< See msgwindow.h */
54
 
#define p_navqueue              geany_functions->p_navqueue             /**< See navqueue.h */
55
 
#define p_plugin                geany_functions->p_plugin               /**< See plugins.c */
56
 
#define p_sci                   geany_functions->p_sci                  /**< See sciwrappers.h */
57
 
#define p_search                geany_functions->p_search               /**< See search.h */
58
 
#define p_support               geany_functions->p_support              /**< See support.h */
59
 
#define p_templates             geany_functions->p_templates    /**< See templates.h */
60
 
#define p_tm                    geany_functions->p_tm                   /**< See the TagManager headers. */
61
 
#define p_ui                    geany_functions->p_ui                   /**< See ui_utils.h */
62
 
#define p_utils                 geany_functions->p_utils                /**< See utils.h */
63
 
 
64
 
#endif