Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
path.h
Go to the documentation of this file.
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef PATH_H
22 #define PATH_H
23 
24 #include <QString>
25 #include <QDir>
26 
27 QString get_app_path();
28 QString get_data_path();
29 QDir get_data_dir();
30 QString get_config_path();
31 QDir get_config_dir();
32 QList<QString> get_effects_paths();
33 QList<QString> get_language_paths();
34 
35 // generate hash algorithm used to uniquely identify files
36 QString get_file_hash(const QString& filename);
37 
38 #endif // PATH_H
QList< QString > get_effects_paths()
Definition: path.cpp:65
QString get_app_path()
Definition: path.cpp:31
QString get_data_path()
Definition: path.cpp:39
QDir get_data_dir()
Definition: path.cpp:48
QDir get_config_dir()
Definition: path.cpp:61
QString get_config_path()
Definition: path.cpp:52
QList< QString > get_language_paths()
Definition: path.cpp:102
QString get_file_hash(const QString &filename)
Definition: path.cpp:92