blob: f4443d09766d77672951ab7f009c9c26a4fb4967 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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 */
|