"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Global.h" between
ssr-0.4.0.tar.gz and ssr-0.4.1.tar.gz

About: SimpleScreenRecorder is a screen (video-audio) recorder for Linux.

Global.h  (ssr-0.4.0):Global.h  (ssr-0.4.1)
skipping to change at line 70 skipping to change at line 70
#include <QVBoxLayout> #include <QVBoxLayout>
#endif #endif
#include <cassert> #include <cassert>
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <ctime> #include <ctime>
#include <stdint.h> #include <stdint.h>
#include <fcntl.h>
#include <pwd.h> #include <pwd.h>
#include <random> #include <strings.h>
#include <sys/ioctl.h>
#include <sys/shm.h> #include <sys/shm.h>
#include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h>
#include <termios.h>
#include <unistd.h> #include <unistd.h>
#include <array> #include <array>
#include <atomic> #include <atomic>
#include <deque> #include <deque>
#include <limits> #include <limits>
#include <memory> #include <memory>
#include <mutex> #include <mutex>
#include <random>
#include <set> #include <set>
#include <sstream> #include <sstream>
#include <thread> #include <thread>
#include <vector> #include <vector>
#include <QX11Info> #include <QX11Info>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>
#include <X11/extensions/Xfixes.h> #include <X11/extensions/Xfixes.h>
#include <X11/extensions/Xinerama.h> #include <X11/extensions/Xinerama.h>
#include <X11/extensions/XShm.h> #include <X11/extensions/XShm.h>
#include <X11/extensions/XInput2.h> #include <X11/extensions/XInput2.h>
#include <X11/keysym.h> #include <X11/keysym.h>
#include <X11/keysymdef.h>
// replacement for Qt::WindowTransparentForInput. // replacement for Qt::WindowTransparentForInput.
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
#include <X11/extensions/shape.h> #include <X11/extensions/shape.h>
#endif #endif
// replacement for QX11Info::isPlatformX11()
#if QT_VERSION < QT_VERSION_CHECK(5, 2, 0)
inline bool IsPlatformX11() {
char *v = getenv("XDG_SESSION_TYPE");
return (v == NULL || strcasecmp(v, "x11") == 0);
}
#else
inline bool IsPlatformX11() {
char *v = getenv("XDG_SESSION_TYPE");
return ((v == NULL || strcasecmp(v, "x11") == 0) && QX11Info::isPlatformX
11());
}
#endif
// undefine problematic Xlib macros // undefine problematic Xlib macros
#undef Bool #undef Bool
extern "C" { extern "C" {
#include <libavformat/avformat.h> #include <libavformat/avformat.h>
#include <libavcodec/avcodec.h> #include <libavcodec/avcodec.h>
#include <libavutil/avutil.h> #include <libavutil/avutil.h>
#include <libavutil/channel_layout.h> #include <libavutil/channel_layout.h>
#include <libavutil/mathematics.h> #include <libavutil/mathematics.h>
#include <libavutil/pixfmt.h> #include <libavutil/pixfmt.h>
 End of changes. 7 change blocks. 
1 lines changed or deleted 22 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)