2009-02-08 03:27:30 +00:00
|
|
|
/*
|
2015-04-13 07:36:54 +00:00
|
|
|
* This file is part of mpv.
|
2009-02-08 03:27:30 +00:00
|
|
|
*
|
2017-06-24 10:54:45 +00:00
|
|
|
* mpv is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2009-02-08 03:27:30 +00:00
|
|
|
*
|
2015-04-13 07:36:54 +00:00
|
|
|
* mpv is distributed in the hope that it will be useful,
|
2009-02-08 03:27:30 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2017-06-24 10:54:45 +00:00
|
|
|
* GNU Lesser General Public License for more details.
|
2009-02-08 03:27:30 +00:00
|
|
|
*
|
2017-06-24 10:54:45 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
2009-02-08 03:27:30 +00:00
|
|
|
*/
|
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#ifndef MPLAYER_W32_COMMON_H
|
|
|
|
#define MPLAYER_W32_COMMON_H
|
2008-01-01 21:35:58 +00:00
|
|
|
|
2008-03-07 20:07:15 +00:00
|
|
|
#include <stdint.h>
|
2012-04-14 11:39:53 +00:00
|
|
|
#include <stdbool.h>
|
2008-03-07 20:07:15 +00:00
|
|
|
#include <windows.h>
|
|
|
|
|
2014-05-06 21:01:19 +00:00
|
|
|
#include "common/common.h"
|
|
|
|
|
2013-03-01 14:55:08 +00:00
|
|
|
struct vo;
|
|
|
|
|
2012-04-14 11:39:53 +00:00
|
|
|
int vo_w32_init(struct vo *vo);
|
|
|
|
void vo_w32_uninit(struct vo *vo);
|
2013-05-15 16:17:18 +00:00
|
|
|
int vo_w32_control(struct vo *vo, int *events, int request, void *arg);
|
2015-10-31 11:52:02 +00:00
|
|
|
void vo_w32_config(struct vo *vo);
|
2014-07-26 18:27:03 +00:00
|
|
|
HWND vo_w32_hwnd(struct vo *vo);
|
2014-08-05 17:40:57 +00:00
|
|
|
void vo_w32_run_on_thread(struct vo *vo, void (*cb)(void *ctx), void *ctx);
|
2008-01-01 21:35:58 +00:00
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_W32_COMMON_H */
|