summaryrefslogtreecommitdiffstats
path: root/kmymoney2
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-03-18 04:07:25 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-03-18 12:45:32 +0100
commit64d92fbade9e54ba8bb334b67ba541cea1f7ae9e (patch)
tree39d4e5c2df14f5ae753928891b38935a0d8ffe8b /kmymoney2
parentf3fd991c693316d26e360438eff8ecff8a54553d (diff)
downloadkmymoney-64d92fbade9e54ba8bb334b67ba541cea1f7ae9e.tar.gz
kmymoney-64d92fbade9e54ba8bb334b67ba541cea1f7ae9e.zip
Fix building with hidden visibility.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kmymoney2')
-rw-r--r--kmymoney2/kmymoneytest.cpp10
-rw-r--r--kmymoney2/mymoney/mymoneyforecast.h3
2 files changed, 6 insertions, 7 deletions
diff --git a/kmymoney2/kmymoneytest.cpp b/kmymoney2/kmymoneytest.cpp
index 623a390..7d55794 100644
--- a/kmymoney2/kmymoneytest.cpp
+++ b/kmymoney2/kmymoneytest.cpp
@@ -222,11 +222,11 @@ void timetrace(const char *txt)
// these symbols are needed when linking with libofx because it requires
// these global symbols as part of its callback interface
extern "C" {
- void ofx_proc_security_cb() {}
- void ofx_proc_transaction_cb() {}
- void ofx_proc_statement_cb() {}
- void ofx_proc_status_cb() {}
- void ofx_proc_account_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_security_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_transaction_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_statement_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_status_cb() {}
+ KMYMONEY_EXPORT void ofx_proc_account_cb() {}
}
#endif
#endif
diff --git a/kmymoney2/mymoney/mymoneyforecast.h b/kmymoney2/mymoney/mymoneyforecast.h
index 30d4cbd..ff82f3a 100644
--- a/kmymoney2/mymoney/mymoneyforecast.h
+++ b/kmymoney2/mymoney/mymoneyforecast.h
@@ -41,7 +41,7 @@
* @author Alvaro Soliverez <asoliverez@gmail.com>
*/
-class MyMoneyForecast
+class KMYMONEY_EXPORT MyMoneyForecast
{
public:
MyMoneyForecast();
@@ -401,4 +401,3 @@ private:
};
#endif // MYMONEYFORECAST_H
-