aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/basetypes/MCMainThread.h
blob: 31819a29786b842ac9688007b5b103fffc0fe7ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __MAILCORE_MCMAINTHREAD_H

#define __MAILCORE_MCMAINTHREAD_H

#ifdef __cplusplus

namespace mailcore {
	void callOnMainThread(void (*)(void *), void * context);
	void callOnMainThreadAndWait(void (*)(void *), void * context);
	void callAfterDelay(void (*)(void *), void * context, double time);
}

#endif

#endif