rockbox/utils/MTP/MTP_DLL/MTP_DLL.h
Dominik Riebeling bc18818547 Some more MTP_DLL cleanup.
- don't use precompiled headers.
- prepare for direct incorporation of the library.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21269 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 08:12:41 +00:00

25 lines
486 B
C

#ifndef MTP_DLL_H
#define MTP_DLL_H
#ifndef MTP_NODLL
#ifdef MTP_DLL_EXPORTS
#define MTP_DLL_API __declspec(dllexport)
#else
#define MTP_DLL_API __declspec(dllimport)
#endif
#else
#define MTP_DLL_API
#endif
#ifdef __cplusplus
extern "C"
{
#endif
MTP_DLL_API int mtp_sendnk(LPWSTR file, int filesize, void (*callback)(unsigned int progress, unsigned int max));
MTP_DLL_API int mtp_description(wchar_t* name, wchar_t* manufacturer, DWORD* version);
#ifdef __cplusplus
}
#endif
#endif