mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-29 06:25:41 +08:00
Add conditional compilation to the common classes for all of the modes.
This commit is contained in:
11
AMBEFEC.h
11
AMBEFEC.h
@@ -26,20 +26,29 @@ public:
|
||||
CAMBEFEC();
|
||||
~CAMBEFEC();
|
||||
|
||||
#if defined(USE_DMR) || defined(USE_YSF) || defined(USE_NXDN)
|
||||
unsigned int regenerateDMR(unsigned char* bytes) const;
|
||||
#endif
|
||||
|
||||
#if defined(USE_DSTAR)
|
||||
unsigned int regenerateDStar(unsigned char* bytes) const;
|
||||
#endif
|
||||
unsigned int regenerateYSFDN(unsigned char* bytes) const;
|
||||
|
||||
#if defined(USE_YSF)
|
||||
unsigned int regenerateYSFDN(unsigned char* bytes) const;
|
||||
#endif
|
||||
|
||||
#if defined(USE_YSF) || defined(USE_P25)
|
||||
unsigned int regenerateIMBE(unsigned char* bytes) const;
|
||||
#endif
|
||||
|
||||
private:
|
||||
#if defined(USE_DSTAR)
|
||||
unsigned int regenerateDStar(unsigned int& a, unsigned int& b) const;
|
||||
#endif
|
||||
#if defined(USE_DMR) || defined(USE_YSF) || defined(USE_NXDN)
|
||||
unsigned int regenerateDMR(unsigned int& a, unsigned int& b,unsigned int& c) const;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user