oaCMBaseTypes.h

Go to the documentation of this file.
00001 // *****************************************************************************
00002 // *****************************************************************************
00003 // oaCMBaseTypes.h
00004 //
00005 // This file contains definitions for basic types used throughout oaCM.
00006 //
00007 // *****************************************************************************
00008 // Except as specified in the OpenAccess terms of use of Cadence or Silicon
00009 // Integration Initiative, this material may not be copied, modified,
00010 // re-published, uploaded, executed, or distributed in any way, in any medium,
00011 // in whole or in part, without prior written permission from Cadence.
00012 //
00013 //                Copyright 2002-2006 Cadence Design Systems, Inc.
00014 //                           All Rights Reserved.
00015 //
00016 //  $Author: davidy $
00017 //  $Revision: #5 $
00018 //  $Date: 2007/06/08 $
00019 //  $State: $
00020 // *****************************************************************************
00021 // *****************************************************************************
00022 
00023 
00024 
00025 #if !defined(oaCMBaseTypes_P)
00026 #define oaCMBaseTypes_P
00027 
00028 
00029 
00030 // *****************************************************************************
00031 // Nested includes
00032 // *****************************************************************************
00033 #include "oaBaseTypes.h"
00034 
00035 
00036 
00037 // *****************************************************************************
00038 // Windows DLL export macros
00039 // *****************************************************************************
00040 #if defined(OA_WINDOWS) && defined(OA_CM_DLL_EXPORTS)
00041 #define OA_CM_DLL_API __declspec(dllexport)
00042 #define OA_CM_DLL_PVT __declspec(dllexport)
00043 #define OA_CM_DLL_EXTERN
00044 #elif defined(OA_WINDOWS) && !defined(OA_STATIC)
00045 #define OA_CM_DLL_API __declspec(dllimport)
00046 #define OA_CM_DLL_PVT __declspec(dllimport)
00047 #define OA_CM_DLL_EXTERN extern
00048 #else
00049 #define OA_CM_DLL_API
00050 #define OA_CM_DLL_PVT
00051 #endif
00052 
00053 #if defined(OA_WINDOWS) && !defined(OA_STATIC)
00054 #define OA_CM_DLL_EXPORT __declspec(dllexport)
00055 #else
00056 #define OA_CM_DLL_EXPORT
00057 #endif
00058 
00059 
00060 
00061 // *****************************************************************************
00062 // Declare and define types in OpenAccess namespace.
00063 // *****************************************************************************
00064 BEGIN_OA_NAMESPACE
00065 
00066 
00067 
00068 // *****************************************************************************
00069 // Global Function Declarations and definitions
00070 // *****************************************************************************
00071 OA_CM_DLL_API extern
00072 void oaCMInit(oaUInt4   apiMajorRev = oacAPIMajorRevNumber,
00073               oaUInt4   apiMinorRev = oacAPIMinorRevNumber);
00074 
00075 OA_CM_DLL_API extern
00076 void oaCMInit(oaUInt4   apiMajorRev,
00077               oaUInt4   apiMinorRev,
00078               oaUInt4   dataModelRev);
00079 
00080 
00081 END_OA_NAMESPACE
00082 
00083 #endif

Return to top of page