This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flvlc.hpp
73 lines (63 loc) · 1.89 KB
/
flvlc.hpp
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
Copyright (C) 2015, 2019 daltomi <[email protected]>
This file is part of flvlc.
flvlc 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.
flvlc 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 flvlc. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include <thread>
#include <sstream>
#include <FL/filename.H> // FL_PATH_MAX
#include "main_window.hpp"
#include "multimedia.hpp"
#include "playlist.hpp"
#include "playlist_window.hpp"
#include "preferences_window.hpp"
#include "subtitles_window.hpp"
#include "log.hpp"
#include "url_window.hpp"
namespace FLVLC {
void cb_end();
void cb_time_changed(float value);
void cb_length_changed(float value);
void initialize_volume();
void initialize_preferences();
void update_title_info();
void update_time_info(const float value);
void toggle_fullscreen();
const std::string parse_time(float value);
void update_gui(void *);
void up_volume();
void down_volume();
void make_multimedia();
void check_if_watch();
void play_seek(const char *media);
void load_playlist();
void save_playlist();
void update_label_playlist();
void action_play_pause();
void action_stop();
void action_prev();
void action_next();
void action_stop_next();
void action_mute();
void action_repeat();
void action_volume();
void action_video();
void action_quit();
void action_open_file();
void action_open_url();
void action_watch();
void action_playlist();
void action_subtitles();
void action_preferences();
void action_snapshot();
}; // namespace FLVLC