From 0648addabfd7e2cae381a9e229dea264f7c05350 Mon Sep 17 00:00:00 2001 From: Andrey Fedorushkov Date: Wed, 7 Sep 2011 14:38:11 +0400 Subject: [PATCH] add forgotten file to bzr3107, add GOST to KICAD_BULD_VERSION if defined KICAD_GOST --- common/build_version.cpp | 6 +++++- include/class_macros_record.h | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 include/class_macros_record.h diff --git a/common/build_version.cpp b/common/build_version.cpp index d2996e6041..1e0ac76c58 100644 --- a/common/build_version.cpp +++ b/common/build_version.cpp @@ -6,7 +6,11 @@ #endif #ifndef KICAD_BUILD_VERSION -#define KICAD_BUILD_VERSION "(2011-aug-04)" +#if defined KICAD_GOST +# define KICAD_BUILD_VERSION "(2011-aug-04 GOST)" +#else +# define KICAD_BUILD_VERSION "(2011-aug-04)" +#endif #endif diff --git a/include/class_macros_record.h b/include/class_macros_record.h new file mode 100644 index 0000000000..51fcc6d871 --- /dev/null +++ b/include/class_macros_record.h @@ -0,0 +1,26 @@ +/****************************************/ +/* Macros: used to record and play */ +/* sequence hotkeys and their positions */ +/****************************************/ + +#ifndef _CLASS_MACROS_RECORD_H +#define _CLASS_MACROS_RECORD_H + +#include + +class MACROS_RECORD +{ +public: + int m_HotkeyCode; + int m_Idcommand; + wxPoint m_Position; +}; + +class MACROS_RECORDED +{ +public: + wxPoint m_StartPosition; + std::list m_Record; +}; + +#endif // _CLASS_MACROS_RECORD_H