mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[register/*.h] add extern "C" {} wrappers
This commit is contained in:
parent
6d7e231e5a
commit
957b6e3afa
@ -23,6 +23,10 @@
|
||||
#ifndef SPLIT_REGISTER_CONTROL_H
|
||||
#define SPLIT_REGISTER_CONTROL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "table-control.h"
|
||||
/** @addtogroup SplitRegister
|
||||
* @{
|
||||
@ -32,5 +36,10 @@
|
||||
|
||||
/** Create a new TableControl specialized for the SplitRegister. */
|
||||
TableControl * gnc_split_register_control_new (void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
#endif
|
||||
|
@ -23,6 +23,10 @@
|
||||
#ifndef SPLIT_REGISTER_MODEL_SAVE_H
|
||||
#define SPLIT_REGISTER_MODEL_SAVE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "Transaction.h"
|
||||
#include "table-model.h"
|
||||
|
||||
@ -44,5 +48,9 @@ SRSaveData * gnc_split_register_save_data_new (Transaction *trans,
|
||||
|
||||
void gnc_split_register_save_data_destroy (SRSaveData *sd);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
#endif
|
||||
|
@ -23,6 +23,10 @@
|
||||
#ifndef SPLIT_REGISTER_P_H
|
||||
#define SPLIT_REGISTER_P_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "split-register.h"
|
||||
|
||||
/** @addtogroup SplitRegister
|
||||
@ -209,5 +213,9 @@ gboolean gnc_split_register_split_needs_amount(
|
||||
gboolean gnc_split_register_needs_conv_rate(
|
||||
SplitRegister *reg, Transaction *txn, Account *acc);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
#endif
|
||||
|
@ -157,6 +157,10 @@
|
||||
#ifndef BASIC_CELL_H
|
||||
#define BASIC_CELL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
#include <glib.h>
|
||||
#include <gtk/gtk.h>
|
||||
@ -285,5 +289,9 @@ char * gnc_basic_cell_validate (BasicCell *bcell,
|
||||
const char *toks,
|
||||
gint *cursor_position);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} @} */
|
||||
#endif /* BASIC_CELL_H */
|
||||
|
@ -40,6 +40,10 @@
|
||||
#ifndef COMBO_CELL_H
|
||||
#define COMBO_CELL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "basiccell.h"
|
||||
@ -104,5 +108,9 @@ void gnc_combo_cell_use_quickfill_cache (ComboCell* cell,
|
||||
QuickFill* shared_qf);
|
||||
void gnc_combo_cell_use_list_store_cache (ComboCell* cell, gpointer data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
#endif
|
||||
|
@ -78,6 +78,10 @@
|
||||
#ifndef DATE_CELL_H
|
||||
#define DATE_CELL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "basiccell.h"
|
||||
@ -127,5 +131,9 @@ void gnc_date_cell_commit (DateCell *cell);
|
||||
*/
|
||||
void gnc_date_cell_get_date (DateCell *cell, time64 *time, gboolean warn);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
#endif
|
||||
|
@ -43,6 +43,10 @@
|
||||
#ifndef PRICE_CELL_H
|
||||
#define PRICE_CELL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "basiccell.h"
|
||||
#include "qof.h"
|
||||
#include "gnc-ui-util.h"
|
||||
@ -87,5 +91,10 @@ void gnc_price_cell_set_print_info (PriceCell *cell,
|
||||
void gnc_price_cell_set_debt_credit_value (PriceCell *debit,
|
||||
PriceCell *credit,
|
||||
gnc_numeric amount);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
#endif
|
||||
|
@ -23,6 +23,10 @@
|
||||
#ifndef TABLE_CONTROL_H
|
||||
#define TABLE_CONTROL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "register-common.h"
|
||||
|
||||
/** @addtogroup Table Table
|
||||
@ -65,5 +69,9 @@ void gnc_table_control_destroy (TableControl *control);
|
||||
void gnc_table_control_allow_move (TableControl *control,
|
||||
gboolean allow_move);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user