- 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 "cs_types.h"
@@ -98,4 +98,4 @@ class cAudio
void EnableAnalogOut(bool enable);
};
#endif
#endif // __AUDIO_LIB_H__

View File

@@ -1,3 +1,6 @@
#ifndef __HDMI_CEC_H__
#define __HDMI_CEC_H__
/*
Copyright (C) 2018 TangoCash
@@ -92,3 +95,5 @@ public:
return muted;
};
};
#endif // __HDMI_CEC_H__

View File

@@ -1,3 +1,6 @@
#ifndef __HDMI_CEC_TYPES_H__
#define __HDMI_CEC_TYPES_H__
typedef enum cec_vendor_id
{
CEC_VENDOR_TOSHIBA = 0x000039,
@@ -706,3 +709,5 @@ static cec_opcode GetResponseOpcode(cec_opcode opcode)
return CEC_OPCODE_NONE;
}
#endif // __HDMI_CEC_TYPES_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>
@@ -104,5 +104,4 @@ public:
void getMeta();
};
#endif
#endif // __PLAYBACK_GST_H__

View File

@@ -1,5 +1,5 @@
#ifndef __HAL_PLAYBACK_H
#define __HAL_PLAYBACK_H
#ifndef __PLAYBACK_LIBEPLAYER3_H__
#define __PLAYBACK_LIBEPLAYER3_H__
#include <string>
#include <vector>
@@ -86,4 +86,5 @@ class cPlayback
void DMNotify(int Event, void *pTsBuf, void *Tag);
#endif
};
#endif
#endif // __PLAYBACK_LIBEPLAYER3_H__

View File

@@ -1,5 +1,5 @@
#ifndef __record_hal__
#define __record_hal__
#ifndef __RECORD_LIB_H__
#define __RECORD_LIB_H__
#include <semaphore.h>
#include "dmx_hal.h"
@@ -53,4 +53,5 @@ class cRecord
void RecordThread();
void WriterThread();
};
#endif
#endif // __RECORD_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 <linux/dvb/video.h>
#include "cs_types.h"
@@ -254,4 +254,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_LIB_H__