Mobile API Reference  MicroStrategy 2019
Synch.h
Go to the documentation of this file.
1 //==============================================================================================
2 // FILENAME : Synch.h
3 // AUTHOR : Jing Ning
4 // CREATION : 9/26/01
5 // Copyright (C) MicroStrategy Incorporated 2001
6 //==============================================================================================
7 #ifndef MSynch_Synch_h
8 #define MSynch_Synch_h
9 
10 #ifdef WIN32
11  #ifdef SYNCH_DLL_EXPORT
12  #define DLL_SYNCH_EXIM _declspec(dllexport)
13  #else
14  #define DLL_SYNCH_EXIM _declspec(dllimport)
15  #endif
16 #else
17  #define DLL_SYNCH_EXIM
18 #endif
19 
20 #include "Logger.h"
21 
22 namespace MSynch
23 {
24  // SetLogger must not be called simultaneously by different threads!
25  DLL_SYNCH_EXIM void SetLogger( Logger* ipLogger );
26 }
27 
28 #endif // MSynch_Synch_h
Definition: ReferenceCountedImpl.h:18
#define DLL_SYNCH_EXIM
Definition: Synch.h:17
DLL_SYNCH_EXIM void SetLogger(Logger *ipLogger)