move timecode display to common header

This commit is contained in:
itsmattkc
2019-07-25 13:11:18 -07:00
parent 90bb6734f7
commit 3bdbb4a26a
5 changed files with 40 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
# Olive - Non-Linear Video Editor
# Copyright (C) 2019 Olive Team
#
# This program 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
set(OLIVE_SOURCES
${OLIVE_SOURCES}
config/config.h
PARENT_SCOPE
)
+12
View File
@@ -0,0 +1,12 @@
#ifndef CONFIG_H
#define CONFIG_H
#include "common/timecodefunctions.h"
/**
* @brief Temporary variables that will definitely be configurable but aren't yet
*/
const olive::TimecodeDisplay kTimecodeDisplay = olive::kTimecodeFrames;
#endif // CONFIG_H