main.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (C) 2007-2018 Siemens AG
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU Lesser General Public License as published
  6. * by the Free Software Foundation, either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. /*******************************************************************
  18. *
  19. * @author Daniel.Peintner.EXT@siemens.com
  20. * @author Sebastian.Kaebisch@siemens.com
  21. * @version 0.9.4
  22. * @contact Richard.Kuntschke@siemens.com
  23. *
  24. *
  25. ********************************************************************/
  26. #define CODE_VERSION_EXI 1
  27. #define CODE_VERSION_SAMPLE 2
  28. #define CODE_VERSION CODE_VERSION_SAMPLE
  29. #ifndef MAIN_H_
  30. #define MAIN_H_
  31. #if CODE_VERSION == CODE_VERSION_EXI
  32. int main_databinder(int argc, char *argv[]);
  33. #elif CODE_VERSION == CODE_VERSION_SAMPLE
  34. int main_example(int argc, char *argv[]);
  35. #endif
  36. #endif