Skip to content

Commit

Permalink
[SX-ttinfo.hpp] convert to c++ header
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed Jun 1, 2024
1 parent 7dc2e2e commit 6c7abb4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion gnucash/gnome/assistant-loan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "assistant-loan.h"
#include "SchedXaction.h"
#include "SX-book.h"
#include "SX-ttinfo.h"
#include "SX-ttinfo.hpp"
#include "gnc-amount-edit.h"
#include "gnc-account-sel.h"
#include "gnc-date.h"
Expand Down
2 changes: 1 addition & 1 deletion gnucash/gnome/dialog-sx-from-trans.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "Recurrence.h"
#include "SchedXaction.h"
#include "SX-book.h"
#include "SX-ttinfo.h"
#include "SX-ttinfo.hpp"
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/app-utils/test/test-sx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <stdlib.h>
#include "SX-book.h"
#include "SX-ttinfo.h"
#include "SX-ttinfo.hpp"
#include "gnc-date.h"
#include "gnc-session.h"
#include "gnc-sx-instance-model.h"
Expand Down
4 changes: 2 additions & 2 deletions libgnucash/engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(engine_noinst_HEADERS
AccountP.hpp
SplitP.hpp
SX-book.h
SX-ttinfo.h
SX-ttinfo.hpp
TransactionP.hpp
gnc-backend-prov.hpp
gnc-date-p.h
Expand Down Expand Up @@ -37,7 +37,7 @@ set (engine_HEADERS
Recurrence.h
SchedXaction.h
SX-book.h
SX-ttinfo.h
SX-ttinfo.hpp
Query.h
Scrub.h
Scrub2.h
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/SX-ttinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include <config.h>

#include "SX-ttinfo.h"
#include "SX-ttinfo.hpp"

struct TTInfo_s
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
#include "Account.h"
#include "gnc-commodity.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct TTInfo_s TTInfo;
typedef struct TTSplitInfo_s TTSplitInfo;

Expand Down Expand Up @@ -91,8 +87,4 @@ const char *gnc_ttsplitinfo_get_debit_formula(TTSplitInfo *split_i);
void gnc_ttsplitinfo_set_account(TTSplitInfo *split_i, Account *acc);
Account *gnc_ttsplitinfo_get_account(TTSplitInfo *split_i);

#ifdef __cplusplus
}
#endif

#endif
2 changes: 1 addition & 1 deletion libgnucash/engine/SchedXaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "Account.hpp"
#include "SX-book.h"
#include "SX-book-p.h"
#include "SX-ttinfo.h"
#include "SX-ttinfo.hpp"
#include "SchedXaction.h"
#include "Transaction.h"
#include "gnc-engine.h"
Expand Down

0 comments on commit 6c7abb4

Please sign in to comment.