mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 05:26:21 +00:00
Make header defines consistent
This commit is contained in:
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef API_H
|
||||
#define API_H
|
||||
#ifndef PLUGINS_API_H
|
||||
#define PLUGINS_API_H
|
||||
|
||||
#include "plugins/callbacks.h"
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef AUTOCOMPLETERS_H
|
||||
#define AUTOCOMPLETERS_H
|
||||
#ifndef PLUGINS_AUTOCOMPLETERS_H
|
||||
#define PLUGINS_AUTOCOMPLETERS_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef PLUGINS_C_API_H
|
||||
#define PLUGINS_C_API_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
void c_api_init(void);
|
||||
@@ -39,3 +42,5 @@ void c_api_init(void);
|
||||
void c_command_callback(PluginCommand *command, gchar **args);
|
||||
void c_timed_callback(PluginTimedFunction *timed_function);
|
||||
void c_window_callback(PluginWindowCallback *window_callback, char *tag, char *line);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef C_PLUGINS_H
|
||||
#define C_PLUGINS_H
|
||||
#ifndef PLUGINS_C_PLUGINS_H
|
||||
#define PLUGINS_C_PLUGINS_H
|
||||
|
||||
#include "plugins/plugins.h"
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef CALLBACKS_H
|
||||
#define CALLBACKS_H
|
||||
#ifndef PLUGINS_CALLBACKS_H
|
||||
#define PLUGINS_CALLBACKS_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef DISCO_H
|
||||
#define DISCO_H
|
||||
#ifndef PLUGINS_DISCO_H
|
||||
#define PLUGINS_DISCO_H
|
||||
|
||||
void disco_add_feature(char *feature);
|
||||
GList* disco_get_features(void);
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef PLUGINS_H
|
||||
#define PLUGINS_H
|
||||
#ifndef PLUGINS_PLUGINS_H
|
||||
#define PLUGINS_PLUGINS_H
|
||||
|
||||
#include "command/cmd_defs.h"
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef PROF_API_H
|
||||
#define PROF_API_H
|
||||
#ifndef PLUGINS_PROF_API_H
|
||||
#define PLUGINS_PROF_API_H
|
||||
|
||||
#define prof_register_command(command_name, min_args, max_args, synopsis, description, arguments, examples, callback) _prof_register_command(__FILE__, command_name, min_args, max_args, synopsis, description, arguments, examples, callback)
|
||||
#define prof_register_timed(callback, interval_seconds) _prof_register_timed(__FILE__, callback, interval_seconds)
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef PYTHON_API_H
|
||||
#define PYTHON_API_H
|
||||
#ifndef PLUGINS_PYTHON_API_H
|
||||
#define PLUGINS_PYTHON_API_H
|
||||
|
||||
void python_env_init(void);
|
||||
void python_init_prof(void);
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef PYTHON_PLUGINS_H
|
||||
#define PYTHON_PLUGINS_H
|
||||
#ifndef PLUGINS_PYTHON_PLUGINS_H
|
||||
#define PLUGINS_PYTHON_PLUGINS_H
|
||||
|
||||
#include "plugins/plugins.h"
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef PLUGIN_SETTINGS_H
|
||||
#define PLUGIN_SETTINGS_H
|
||||
#ifndef PLUGINS_SETTINGS_H
|
||||
#define PLUGINS_SETTINGS_H
|
||||
|
||||
void plugin_settings_init(void);
|
||||
void plugin_settings_close(void);
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef PLUGIN_THEMES_H
|
||||
#define PLUGIN_THEMES_H
|
||||
#ifndef PLUGINS_THEMES_H
|
||||
#define PLUGINS_THEMES_H
|
||||
|
||||
void plugin_themes_init(void);
|
||||
void plugin_themes_close(void);
|
||||
|
||||
Reference in New Issue
Block a user