os-k/kaleid/include/kaleid.h

96 lines
2.3 KiB
C
Raw Normal View History

2019-01-01 13:09:57 +01:00
//----------------------------------------------------------------------------//
// GNU GPL OS/K //
// //
// Authors: spectral` //
// NeoX //
// //
// Desc: Kaleid API main include file //
//----------------------------------------------------------------------------//
#ifndef _KALEID_H
#define _KALEID_H
//------------------------------------------//
// Building for OS/K //
//------------------------------------------//
#if !defined(_OSK_SOURCE)
# if defined(_KALEID_KERNEL) || defined(_KALEID_SYSTEM)
# define _OSK_SOURCE 1
# endif
#endif
2019-01-01 17:37:58 +01:00
#if !defined(_OSK_SOURCE)
2019-01-01 17:11:30 +01:00
# ifndef _KALMASK_H
2019-01-14 14:31:49 +01:00
# include <common/kalmask.h>
2019-01-01 17:11:30 +01:00
# endif
#endif
2019-01-14 14:31:49 +01:00
//------------------------------------------//
// Building in C++ //
//------------------------------------------//
#ifdef __cplusplus__
extern "C" {
#endif
2019-01-01 13:09:57 +01:00
//------------------------------------------//
// Include common part of API //
//------------------------------------------//
#ifndef _KALDEFS_H
2019-01-14 14:31:49 +01:00
#include <common/kaldefs.h>
#endif
#ifndef _KALERROR_H
#include <common/kalerror.h>
2019-01-01 13:09:57 +01:00
#endif
#ifndef _KALTYPES_H
2019-01-14 14:31:49 +01:00
#include <common/kaltypes.h>
#endif
#ifndef _KALLIMS_H
#include <common/kallims.h>
2019-01-01 13:09:57 +01:00
#endif
#ifndef _KALASSRT_H
2019-01-14 14:31:49 +01:00
#include <common/kalassrt.h>
2019-01-01 13:09:57 +01:00
#endif
#ifndef _KALCRT_H
2019-01-14 14:31:49 +01:00
#include <common/kalcrt.h>
#endif
//------------------------------------------//
// Include kernel headers //
//------------------------------------------//
#ifdef _KALEID_KERNEL
#ifndef _KALKERN_H
#include <kalkern.h>
#endif
#else
#ifndef _KALKERN_LOCKS_H
#include <kernel/kernlocks.h>
#endif
#endif
//------------------------------------------//
// Building in C++ //
//------------------------------------------//
#ifdef __cplusplus__
}
2019-01-01 13:09:57 +01:00
#endif
//------------------------------------------//
2019-01-14 14:31:49 +01:00
// End of header //
2019-01-01 13:09:57 +01:00
//------------------------------------------//
#endif