diff options
Diffstat (limited to 'tinyDAV/include/tinydav/tdav_win32.h')
-rw-r--r-- | tinyDAV/include/tinydav/tdav_win32.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tinyDAV/include/tinydav/tdav_win32.h b/tinyDAV/include/tinydav/tdav_win32.h new file mode 100644 index 0000000..cd31fe6 --- /dev/null +++ b/tinyDAV/include/tinydav/tdav_win32.h @@ -0,0 +1,53 @@ +/* +* Copyright (C) 2010-2011 Mamadou Diop. +* +* Contact: Mamadou Diop <diopmamadou(at)doubango.org> +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ +/**@file tdav_win32.h + * @brief tinyDAV WIN32 helper functions. + * + * @author Mamadou Diop <diopmamadou(at)doubango.org> + * + + */ +#ifndef TINYMEDIA_TDAV_WIN32_H +#define TINYMEDIA_TDAV_WIN32_H + +#include "tinydav_config.h" + +#include "tsk_common.h" /* tsk_bool_t */ + +#if TDAV_UNDER_WINDOWS + +TDAV_BEGIN_DECLS + +int tdav_win32_init(); +int tdav_win32_get_osversion(unsigned long* version_major, unsigned long* version_minor); +tsk_bool_t tdav_win32_is_win8_or_later(); +tsk_bool_t tdav_win32_is_win7_or_later(); +tsk_bool_t tdav_win32_is_winvista_or_later(); +tsk_bool_t tdav_win32_is_winxp_or_later(); +const char* tdav_get_current_directory_const(); +int tdav_win32_deinit(); + +TDAV_END_DECLS + +#endif /* TDAV_UNDER_WINDOWS */ + +#endif /* TINYMEDIA_TDAV_WIN32_H */ |