- 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_TD_H_
#define _AUDIO_TD_H_
#ifndef __AUDIO_TD_H__
#define __AUDIO_TD_H__
#include <hardware/aud/aud_inf.h>
#include "cs_types.h"
@@ -95,5 +95,4 @@ class cAudio
void EnableAnalogOut(bool enable);
};
#endif
#endif // __AUDIO_TD_H__

View File

@@ -1,5 +1,5 @@
#ifndef __PLAYBACK_TD_H
#define __PLAYBACK_TD_H
#ifndef __PLAYBACK_TD_H__
#define __PLAYBACK_TD_H__
#include <inttypes.h>
#include <string>
@@ -125,4 +125,5 @@ class cPlayback
void DMNotify(int Event, void *pTsBuf, void *Tag);
#endif
};
#endif
#endif // __PLAYBACK_TD_H__

View File

@@ -1,5 +1,5 @@
#ifndef __RECORD_TD_H
#define __RECORD_TD_H
#ifndef __RECORD_TD_H__
#define __RECORD_TD_H__
#include <pthread.h>
#include "dmx_hal.h"
@@ -40,4 +40,5 @@ class cRecord
void RecordThread();
};
#endif
#endif // __RECORD_TD_H__

View File

@@ -1,5 +1,5 @@
#ifndef _VIDEO_TD_H
#define _VIDEO_TD_H
#ifndef __VIDEO_TD_H__
#define __VIDEO_TD_H__
#include <hardware/vid/vid_inf.h>
#define video_format_t vidDispSize_t
@@ -193,4 +193,4 @@ class cVideo
bool GetScreenImage(unsigned char * &data, int &xres, int &yres, bool get_video = true, bool get_osd = false, bool scale_to_video = false);
};
#endif
#endif // __VIDEO_TD_H__