summaryrefslogtreecommitdiffstats
path: root/tdeio/tdeio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-03-28 18:00:28 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-03-28 18:00:28 -0500
commitf348cf011d160868ddd7c0caa47b208604adadaf (patch)
tree1eea3b8eab16cdb350687d56d2c384445fb38bae /tdeio/tdeio
parentacab47877a4f64772fed12afb076dc43c6a7b336 (diff)
downloadtdelibs-f348cf011d160868ddd7c0caa47b208604adadaf.tar.gz
tdelibs-f348cf011d160868ddd7c0caa47b208604adadaf.zip
Export elf metadata extraction methods and header
Properly embed versioning information into major libraries
Diffstat (limited to 'tdeio/tdeio')
-rw-r--r--tdeio/tdeio/CMakeLists.txt2
-rw-r--r--tdeio/tdeio/tdelficon.h8
2 files changed, 6 insertions, 4 deletions
diff --git a/tdeio/tdeio/CMakeLists.txt b/tdeio/tdeio/CMakeLists.txt
index e2b96ebb1..5f04568c5 100644
--- a/tdeio/tdeio/CMakeLists.txt
+++ b/tdeio/tdeio/CMakeLists.txt
@@ -61,7 +61,7 @@ install( FILES
tcpslavebase.h forwardingslavebase.h observer.h
chmodjob.h kmdbase.h authinfo.h ioslave_defaults.h
http_slave_defaults.h previewjob.h thumbcreator.h
- metainfojob.h davjob.h renamedlg.h skipdlg.h
+ metainfojob.h davjob.h renamedlg.h skipdlg.h tdelficon.h
${CMAKE_CURRENT_BINARY_DIR}/uiserver_stub.h
DESTINATION ${INCLUDE_INSTALL_DIR}/tdeio )
diff --git a/tdeio/tdeio/tdelficon.h b/tdeio/tdeio/tdelficon.h
index 37b629f61..fc3b1beee 100644
--- a/tdeio/tdeio/tdelficon.h
+++ b/tdeio/tdeio/tdelficon.h
@@ -1,3 +1,5 @@
+#include <tdelibs_export.h>
+
#include <alloca.h>
#include <stdint.h>
#include <cstdlib>
@@ -49,6 +51,6 @@ extern "C" {
// END HACK
}
-int get_iconlist(libr_file *file_handle, iconlist *icons);
-iconentry *get_nexticon(iconlist *icons, iconentry *last_entry);
-TQString elf_get_resource(libr_file *handle, char *section_name);
+TDEIO_EXPORT int get_iconlist(libr_file *file_handle, iconlist *icons);
+TDEIO_EXPORT iconentry *get_nexticon(iconlist *icons, iconentry *last_entry);
+TDEIO_EXPORT TQString elf_get_resource(libr_file *handle, char *section_name);