- unify defines in header files

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-12-26 00:34:00 +01:00
committed by Thilo Graf
parent a7221f4d8c
commit 038d2288cc
37 changed files with 125 additions and 105 deletions

View File

@@ -1,7 +1,7 @@
/* public header file */
#ifndef _AUDIO_LIB_H_
#define _AUDIO_LIB_H_
#ifndef __AUDIO_LIB_H__
#define __AUDIO_LIB_H__
#include <stdint.h>
#include <OpenThreads/Thread>
@@ -102,4 +102,4 @@ class cAudio : public OpenThreads::Thread
int my_read(uint8_t *buf, int buf_size);
};
#endif
#endif // __AUDIO_LIB_H__

View File

@@ -16,8 +16,8 @@
*
*/
#ifndef __PLAYBACK_CS_H
#define __PLAYBACK_CS_H
#ifndef __PLAYBACK_GST_H__
#define __PLAYBACK_GST_H__
#include <string>
#include <stdint.h>
@@ -103,5 +103,4 @@ public:
void getMeta();
};
#endif
#endif // __PLAYBACK_GST_H__

View File

@@ -1,5 +1,5 @@
#ifndef __PLAYBACK_H
#define __PLAYBACK_H
#ifndef __PLAYBACK_LIB_H__
#define __PLAYBACK_LIB_H__
#include <string>
#include <stdint.h>
@@ -57,4 +57,5 @@ class cPlayback
AVFormatContext *GetAVFormatContext(){ return NULL; }
void ReleaseAVFormatContext() {}
};
#endif
#endif // __PLAYBACK_LIB_H__

View File

@@ -1,5 +1,5 @@
#ifndef _VIDEO_LIB_H
#define _VIDEO_LIB_H
#ifndef __VIDEO_LIB_H__
#define __VIDEO_LIB_H__
#include <OpenThreads/Thread>
#include <OpenThreads/Mutex>
@@ -224,4 +224,4 @@ class cVideo : public OpenThreads::Thread
bool stillpicture;
};
#endif
#endif // __VIDEO_LIB_H__