-
Notifications
You must be signed in to change notification settings - Fork 0
/
nw.h
55 lines (42 loc) · 1.42 KB
/
nw.h
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
/****************************************************************************
**
** NightWatch Video Navigator
** 2020 (c) Vladi Belperchinov-Shabanski
** https://github.com/cade-vs/nightwatch
**
****************************************************************************/
#ifndef _NW_H_
#define _NW_H_
#include <QString>
#include <QSettings>
#include <QString>
#include <QProcess>
#include <QFont>
#include <QStringList>
#include <qdebug.h>
#define NW_VERSION "2.07"
#define DEFAULT_VIDEOS_EXTENSIONS_FILTER ".AVI.MKV.MPG.MPEG.MP4.M4V.TS."
#define DEFAULT_IMAGES_EXTENSIONS_FILTER ".JPG.JPEG.PNG."
#define MAX_PLAY_LOCATIONS 16
#define DEFAULT_AUTO_PLAY 3
#define DEFAULT_AUTO_PLAY_PAUSE 4000
const QString ITEM_TYPE_DIR( "[DIR]" );
extern QString videos_extensions_filter;
extern QString images_extensions_filter;
extern QStringList images_extensions_list;
extern QSettings Settings;
extern QSettings LastPlayed;
extern QSettings LastLocations;
extern QSettings LocalSort;
extern QFont main_list_big_font;
extern QFont main_list_small_font;
extern QFont keypad_menu_font;
extern QFont status_bar_font;
extern QProcess player_process;
extern int opt_use_toolbar;
extern int opt_use_per_directory_sorting;
void save_fonts_to_settings();
QString find_first_image_in_dir( QString dir );
QString find_image_for_file( QString dir, QString file_name );
#endif