Add rest of headers needed for declarations of all public API functions. Add HAVE_PLUGINS define to geanyplugins.h since some headers need this and it should always be valid for this header. geanyfunctions.h left for source-level backwards compatibility for plugins which might `#include` this header directly. I don't know why they do it, but some Geany-Plugins do this.
32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
/*
|
|
* geanyfunctions.h - this file is part of Geany, a fast and lightweight IDE
|
|
*
|
|
* Copyright 2014 Matthew Brush <mbrush@codebrainz.ca>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
/* This file exists purely for backwards compatibility. */
|
|
|
|
#ifndef GEANY_FUNCTIONS_H
|
|
#define GEANY_FUNCTIONS_H 1
|
|
|
|
/* This remains so that older plugins that contain a `GeanyFunctions *geany_functions;`
|
|
* variable in their plugin - as was previously required - will still compile
|
|
* without changes. */
|
|
typedef struct GeanyFunctionsUndefined GeanyFunctions;
|
|
|
|
#endif /* GEANY_FUNCTIONS */
|