// JidaApp.h ansi_c
// JIDA sample application OS dependent includes
// Copyright 2001 JUMPtec AG
// {G)U(2} 2001.03.06

//***************************************************************************

#ifndef __JIDAAPP_H__
#define __JIDAAPP_H__

//***************************************************************************

#ifdef WIN32
#include <windows.h>
#include <tchar.h>
#define DeclareMain(name) int WINAPI WinMain(HINSTANCE hInstance, \
    HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
#else

//***************************************************************************

#ifdef VXWORKS
#include "vxWorks.h"
#define DeclareMain(name) extern "C" int name(unsigned long arg)
#else
#define DeclareMain(name) int main(int argc, char* argv[])
#endif

//***************************************************************************

#include <stdlib.h>
#include <stdio.h>

#include "JWinDefs.h"
#include "JMsgBox.h"

//***************************************************************************

#undef wsprintf
#define wsprintf sprintf

//***************************************************************************

#endif /* WIN32 */

#include "Jida.h"

//***************************************************************************

#endif /* __JIDAAPP_H__ */

//***************************************************************************


