Skip to content

Commit

Permalink
[Transaction.hpp] rename to .hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed May 4, 2024
1 parent 62a8856 commit 3eb90f7
Show file tree
Hide file tree
Showing 25 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion gnucash/import-export/log-replay/gnc-log-replay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include "Account.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "TransLog.h"
#include "Scrub.h"
#include "gnc-log-replay.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/backend/xml/gnc-transaction-xml-v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <string.h>
#include "AccountP.hpp"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "gnc-lot.h"
#include "gnc-lot-p.h"

Expand Down
2 changes: 1 addition & 1 deletion libgnucash/backend/xml/io-gncxml-v1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <Query.h>
#include <Scrub.h>
#include <Transaction.h>
#include <TransactionP.h>
#include <TransactionP.hpp>
#include <TransLog.h>
#include <gnc-pricedb.h>
#include <gnc-pricedb-p.h>
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/backend/xml/io-gncxml-v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#include "SX-book.h"
#include "SX-book-p.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "TransLog.h"
#if PLATFORM(WINDOWS)
#ifdef __STRICT_ANSI_UNSET__
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/backend/xml/test/test-xml-transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

#include <AccountP.hpp>
#include <Transaction.h>
#include <TransactionP.h>
#include <TransactionP.hpp>

#include "../gnc-xml-helper.h"
#include "../gnc-xml.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/Account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include "Account.hpp"
#include "Split.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "gnc-event.h"
#include "gnc-glib-utils.h"
#include "gnc-lot.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(engine_noinst_HEADERS
SplitP.h
SX-book.h
SX-ttinfo.h
TransactionP.h
TransactionP.hpp
gnc-backend-prov.hpp
gnc-date-p.h
gnc-int128.hpp
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/Query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "Account.h"
#include "Query.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"

static QofLogModule log_module = GNC_MOD_QUERY;

Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/Scrub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#include "Account.hpp"
#include "Scrub.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "gnc-commodity.h"
#include "qofinstance-p.h"
#include "gnc-session.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/Scrub2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "AccountP.hpp"
#include "Account.hpp"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "Scrub2.h"
#include "cap-gains.h"
#include "gnc-engine.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/Scrub3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "Scrub2.h"
#include "Scrub3.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"

static QofLogModule log_module = GNC_MOD_LOT;

Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/Split.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include "Split.h"
#include "AccountP.hpp"
#include "Scrub.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "TransLog.h"
#include "cap-gains.h"
#include "gnc-commodity.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/TransLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#include "Account.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "TransLog.h"
#include "qof.h"
#ifdef _MSC_VER
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/Transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include "AccountP.hpp"
#include "Scrub.h"
#include "Scrub3.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "SplitP.h"
#include "TransLog.h"
#include "cap-gains.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************\
* TransactionP.h -- private header for transaction & splits *
* TransactionP.hpp -- private header for transaction & splits *
* Copyright (C) 1997 Robin D. Clark *
* Copyright (C) 1997-2000 Linas Vepstas <[email protected]> *
* Copyright (C) 2000 Bill Gribble *
Expand All @@ -25,7 +25,7 @@

/*
* FILE:
* TransactionP.h
* TransactionP.hpp
*
* FUNCTION:
* The is the *private* transaction header file. Code outside of
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/cap-gains.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#include "Scrub2.h"
#include "Scrub3.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "cap-gains.h"
#include "gnc-engine.h"
#include "engine-helpers.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/cashobjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "cashobjects.h"
#include "gnc-engine.h"
#include "AccountP.hpp"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "SchedXaction.h"
#include "SX-book-p.h"
#include "gnc-pricedb-p.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/gnc-engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "AccountP.hpp"
#include "SX-book-p.h"
#include "gnc-budget.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "gnc-commodity.h"
#include "gnc-pricedb-p.h"

Expand Down
4 changes: 2 additions & 2 deletions libgnucash/engine/gnc-engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ typedef struct account_s Account;
* divided into.
*
* This is the typename for a split. The actual structure is defined
* in the private header TransactionP.h, but no one outside the engine
* in the private header TransactionP.hpp, but no one outside the engine
* should include that file. Instead, access that data only through
* the functions in Transaction.h .*/
typedef struct split_s Split;
Expand All @@ -153,7 +153,7 @@ typedef struct split_s Split;
* divided into one or more Splits (usually two).
*
* This is the typename for a transaction. The actual structure is
* defined in the private header TransactionP.h, but no one outside
* defined in the private header TransactionP.hpp, but no one outside
* the engine should include that file. Instead, access that data only
* through the functions in Transaction.h .*/
typedef struct transaction_s Transaction;
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/gnc-lot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#include "gnc-lot-p.h"
#include "cap-gains.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "gncInvoice.h"

/* This static indicates the debugging module that this .o belongs to. */
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/mocks/gmock-Transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <gmock/gmock.h>

#include <Transaction.h>
#include <TransactionP.h>
#include <TransactionP.hpp>

#include "gmock-gobject.h"

Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/policy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "Account.h"
#include "Account.hpp"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "cap-gains.h"
#include "gnc-engine.h"
#include "gnc-lot.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/test-core/test-engine-stuff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#include "gnc-engine.h"
#include "gnc-session.h"
#include "Transaction.h"
#include "TransactionP.h"
#include "TransactionP.hpp"
#include "Recurrence.h"
#include "SchedXaction.h"
#include "SX-book.h"
Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/test/utest-Split.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <SplitP.h>
#include <Account.h>
#include <Transaction.h>
#include <TransactionP.h>
#include <TransactionP.hpp>
#include <gnc-lot.h>
#include <gnc-event.h>

Expand Down
2 changes: 1 addition & 1 deletion libgnucash/engine/test/utest-Transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <unittest-support.h>
/* Add specific headers for this class */
#include "../Transaction.h"
#include "../TransactionP.h"
#include "../TransactionP.hpp"
#include "../Split.h"
#include "../Account.h"
#include "../gnc-lot.h"
Expand Down

0 comments on commit 3eb90f7

Please sign in to comment.