XMMS2
src/include/xmmsc/xmmsv_deprecated.h
Go to the documentation of this file.
00001 /*  XMMS2 - X Music Multiplexer System
00002  *  Copyright (C) 2003-2011 XMMS2 Team
00003  *
00004  *  PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
00005  *
00006  *  This library is free software; you can redistribute it and/or
00007  *  modify it under the terms of the GNU Lesser General Public
00008  *  License as published by the Free Software Foundation; either
00009  *  version 2.1 of the License, or (at your option) any later version.
00010  *
00011  *  This library is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  *  Lesser General Public License for more details.
00015  */
00016 
00017 
00018 #ifndef __XMMSV_DEPRECATED_H__
00019 #define __XMMSV_DEPRECATED_H__
00020 
00021 #include "xmmsc/xmmsv_general.h"
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00027 /**
00028  * @defgroup DeprecatedValueType Deprecated
00029  * @ingroup ValueType
00030  * @{
00031  */
00032 
00033 /** @deprecated */
00034 static inline xmmsv_type_t XMMSV_TYPE_UINT32_IS_DEPRECATED(void) XMMS_DEPRECATED;
00035 static inline xmmsv_type_t
00036 XMMSV_TYPE_UINT32_IS_DEPRECATED (void)
00037 {
00038     return XMMSV_TYPE_INT32;
00039 }
00040 #define XMMSV_TYPE_UINT32 XMMSV_TYPE_UINT32_IS_DEPRECATED()
00041 
00042 /** @deprecated */
00043 int xmmsv_is_list (const xmmsv_t *val) XMMS_DEPRECATED;
00044 /** @deprecated */
00045 int xmmsv_is_dict (const xmmsv_t *val) XMMS_DEPRECATED;
00046 
00047 /** @deprecated */
00048 const char * xmmsv_get_error_old (const xmmsv_t *val) XMMS_DEPRECATED;
00049 /** @deprecated */
00050 int xmmsv_get_uint (const xmmsv_t *val, uint32_t *r) XMMS_DEPRECATED;
00051 
00052 /** @} */
00053 
00054 #ifdef __cplusplus
00055 }
00056 #endif
00057 
00058 #endif