ui/replay: file extensions to .cc and .h (#20805)

old-commit-hash: bdf4a94cd03746e498d21d8224e625135632b1c3
This commit is contained in:
Dean Lee
2021-05-04 11:22:32 +08:00
committed by GitHub
parent 8a759792c4
commit 9159291a09
10 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ if arch == 'x86_64' and os.path.exists(Dir("#tools/").get_abspath()):
qt_env['CXXFLAGS'] += ["-Wno-deprecated-declarations"]
replay_lib_src = ["replay/replay.cc", "replay/Unlogger.cc",
"replay/FileReader.cc", "#tools/clib/FrameReader.cpp"]
"replay/FileReader.cc", "#tools/clib/FrameReader.cc"]
replay_lib = qt_env.Library("qt_replay", replay_lib_src, LIBS=base_libs)
replay_libs = [replay_lib, 'avutil', 'avcodec', 'avformat', 'swscale', 'bz2'] + qt_libs
+1 -1
View File
@@ -1,5 +1,5 @@
#include "FileReader.h"
#include "FrameReader.hpp"
#include "FrameReader.h"
#include <QtNetwork>
+1 -1
View File
@@ -16,7 +16,7 @@
#include "cereal/gen/cpp/log.capnp.h"
#include <thread>
#include "channel.hpp"
#include "channel.h"
class FileReader : public QObject {
Q_OBJECT
+1 -1
View File
@@ -5,7 +5,7 @@
#include "clutil.h"
#include "messaging.hpp"
#include "FileReader.h"
#include "FrameReader.hpp"
#include "FrameReader.h"
#include "visionipc_server.h"
class Unlogger : public QObject {
+1 -1
View File
@@ -11,7 +11,7 @@
#include "qt/api.h"
#include "Unlogger.h"
#include "FileReader.h"
#include "FrameReader.hpp"
#include "FrameReader.h"
#include "visionipc_server.h"
#include "common/util.h"
@@ -1,4 +1,4 @@
#include "FrameReader.hpp"
#include "FrameReader.h"
#include <assert.h>
#include <unistd.h>
@@ -9,7 +9,7 @@
#include <list>
#include <condition_variable>
#include "channel.hpp"
#include "channel.h"
// independent of QT, needs ffmpeg
extern "C" {
+1 -1
View File
@@ -4,5 +4,5 @@ env['CPPPATH'] += [get_paths()['include']]
from Cython.Build import cythonize
cythonize("cframereader.pyx")
env.SharedLibrary(File('cframereader.so'), ['cframereader.cpp', 'FrameReader.cpp'], LIBS=['avformat', 'avcodec', 'avutil', 'swscale'])
env.SharedLibrary(File('cframereader.so'), ['cframereader.cpp', 'FrameReader.cc'], LIBS=['avformat', 'avcodec', 'avutil', 'swscale'])
+1 -1
View File
@@ -1,7 +1,7 @@
# distutils: language = c++
# cython: language_level=3
cdef extern from "FrameReader.hpp":
cdef extern from "FrameReader.h":
cdef cppclass CFrameReader "FrameReader":
CFrameReader(const char *)
char *get(int)