svn-gvsig-desktop / branches / v05 / libraries / libjni-ecw / include / NCSTimer.h @ 40081
History | View | Annotate | Download (1005 Bytes)
1 |
/********************************************************
|
---|---|
2 |
** Copyright 1999 Earth Resource Mapping Pty Ltd.
|
3 |
** This document contains unpublished source code of
|
4 |
** Earth Resource Mapping Pty Ltd. This notice does
|
5 |
** not indicate any intention to publish the source
|
6 |
** code contained herein.
|
7 |
**
|
8 |
** FILE: $NCS/include/NCSTimer.h
|
9 |
** CREATED: Wed Apr 21 00:00:00 WST 1999
|
10 |
** AUTHOR: Simon Cope
|
11 |
** PURPOSE: NCS Timer header.
|
12 |
** EDITS:
|
13 |
*******************************************************/
|
14 |
|
15 |
#ifndef NCSTIMER_H
|
16 |
#define NCSTIMER_H
|
17 |
|
18 |
#ifdef __cplusplus
|
19 |
extern "C" { |
20 |
#endif
|
21 |
|
22 |
#ifndef NCSUTIL_H
|
23 |
#include "NCSUtil.h" |
24 |
#endif
|
25 |
|
26 |
typedef struct NCSTimer NCSTimer; |
27 |
|
28 |
NCSTimer *NCSTimerCreate(NCSTimeStampMs tsPeriod, void (*pFunc)(void*pData), void *pData); |
29 |
void NCSTimerStart(NCSTimer *pTimer);
|
30 |
void NCSTimerStop(NCSTimer *pTimer);
|
31 |
void NCSTimerDestroy(NCSTimer *pTimer);
|
32 |
void *NCSTimerGetData(NCSTimer *pTimer);
|
33 |
void NCSTimerSetData(NCSTimer *pTimer, void *pData); |
34 |
|
35 |
#ifdef __cplusplus
|
36 |
} |
37 |
#endif
|
38 |
|
39 |
#endif //NCSTIMER_H |
40 |
|