PmBridge SDK  2.7.0
PMBRIDGE SDK Interface
 All Files Functions Macros Groups
C:/projects/romexis/c/JPmBridge/JPmBridge.h
Go to the documentation of this file.
1 
2 #include "StdAfx.h"
3 
4 // The following ifdef block is the standard way of creating macros which make exporting
5 // from a DLL simpler. All files within this DLL are compiled with the JPMBRIDGE_EXPORTS
6 // symbol defined on the command line. this symbol should not be defined on any project
7 // that uses this DLL. This way any other project whose source files include this file see
8 // JPMBRIDGE_API functions as being imported from a DLL, wheras this DLL sees symbols
9 // defined with this macro as being exported.
10 #ifdef JPMBRIDGE_EXPORTS
11 #ifdef WINDOWS
12  #define JPMBRIDGE_API __declspec(dllexport)
13 #else // MAC: MKH 2010/03/11
14  #define JPMBRIDGE_API __attribute__ ((__visibility__("default")))
15 #endif
16 
17 #else
18 #ifdef WINDOWS
19  #define JPMBRIDGE_API __declspec(dllimport)
20 #else // MAC: MKH 2010/03/11
21  #define JPMBRIDGE_API __attribute__ ((__visibility__("default")))
22 #endif
23 #endif
24 
25 
26 /*
27 // This class is exported from the JPmBridge.dll
28 class JPMBRIDGE_API CJPmBridge {
29 public:
30  CJPmBridge(void);
31  // TODO: add your methods here.
32 };
33 
34 extern JPMBRIDGE_API int nJPmBridge;
35 
36 JPMBRIDGE_API int fnJPmBridge(void);
37 */