ASX Version4.10.32

asxstring.h

Go to the documentation of this file.
00001 /*****************************************************************************************
00002 * $Header: /home/eliot/asi/repo/cvsrepo/Repository/apps/asx/asxstring.h,v 1.5 2008/03/25 14:32:45 as-tfe Exp $
00003 *
00004 * ASXSTRING.H
00005 * String definitions for cross platform/API audio class library
00006 *
00007 * Copyright (C) AudioScience 2004
00008 *****************************************************************************************/
00009 
00010 #ifndef _ASXSTRING_H_
00011 #define _ASXSTRING_H_
00012 
00013 
00014 // The following ifdef block is the standard way of creating macros which make exporting
00015 // from a DLL simpler. All files within this DLL are compiled with the ASX32_EXPORTS
00016 // symbol defined on the command line. this symbol should not be defined on any project
00017 // that uses this DLL. This way any other project whose source files include this file see
00018 // ASX32_API functions as being imported from a DLL, wheras this DLL sees symbols
00019 // defined with this macro as being exported.
00020 #ifdef ASX32_EXPORTS
00021 #define ASX32_API __declspec(dllexport)
00022 #endif
00023 #ifdef ASX32_IMPORTS
00024 #define ASX32_API __declspec(dllimport)
00025 #endif
00026 #ifndef ASX32_API
00027 #define ASX32_API
00028 #endif
00029 
00030 
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034 
00045 ASX32_API int ASXSTRING_EnumToString(const int nEnum, char *szString, const int nLength, int *pRequiredLength);
00046 
00053 ASX32_API int ASXSTRING_StringToEnum(const char *szString, int *pnEnum);
00054 
00055 #ifdef __cplusplus
00056 }
00057 #endif
00058 
00059 #endif