summaryrefslogtreecommitdiff
path: root/utils/MTP/MTP_DLL/MTP_DLL.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-19 18:36:57 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-19 18:36:57 +0000
commit5883f09acee11766ef96f8ec4c7e95019a1628c3 (patch)
tree92a931c810800422d8814f5fdfe09bb192cb0243 /utils/MTP/MTP_DLL/MTP_DLL.h
parent28eb803f79348b11f49ed96156edaee0b9b52ae6 (diff)
downloadrockbox-5883f09acee11766ef96f8ec4c7e95019a1628c3.tar.gz
rockbox-5883f09acee11766ef96f8ec4c7e95019a1628c3.zip
MTP_DLL:
* update license to BSD * clean some comments * add README file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20049 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/MTP/MTP_DLL/MTP_DLL.h')
-rw-r--r--utils/MTP/MTP_DLL/MTP_DLL.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/utils/MTP/MTP_DLL/MTP_DLL.h b/utils/MTP/MTP_DLL/MTP_DLL.h
index ad99014bc2..eeee72a87b 100644
--- a/utils/MTP/MTP_DLL/MTP_DLL.h
+++ b/utils/MTP/MTP_DLL/MTP_DLL.h
@@ -1,17 +1,10 @@
1// The following ifdef block is the standard way of creating macros which make exporting 1#ifdef MTP_DLL_EXPORTS
2// from a DLL simpler. All files within this DLL are compiled with the MTP_DLL_EXPORTS 2#define MTP_DLL_API __declspec(dllexport)
3// symbol defined on the command line. this symbol should not be defined on any project 3#else
4// that uses this DLL. This way any other project whose source files include this file see 4#define MTP_DLL_API __declspec(dllimport)
5// MTP_DLL_API functions as being imported from a DLL, whereas this DLL sees symbols 5#endif
6// defined with this macro as being exported.
7#ifdef MTP_DLL_EXPORTS
8#define MTP_DLL_API __declspec(dllexport)
9#else
10#define MTP_DLL_API __declspec(dllimport)
11#endif
12
13extern "C"
14{
15__declspec(dllexport) bool send_fw(LPWSTR file, int filesize, void (*callback)(unsigned int progress, unsigned int max));
16}
17 6
7extern "C"
8{
9 __declspec(dllexport) bool send_fw(LPWSTR file, int filesize, void (*callback)(unsigned int progress, unsigned int max));
10}