mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 23:13:50 +00:00
Add conditional compilation to the common classes for all of the modes.
This commit is contained in:
parent
72152cc82b
commit
ebc539b205
12 changed files with 1123 additions and 40 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue