openbox/version.h.in
Dana Jansens 91af4d5bc9 Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPE
Add _OB_VERSION property on the root window.
Change _OB_ROLE/CLASS/NAME to _OB_APP_*.
Add _OB_APP_TYPE which has a string for the type chosen for the window on
  mapping by Openbox.
Adjust the rc.xml to match these changes.
2010-01-11 13:42:50 -05:00

15 lines
479 B
C

#ifndef ob__version_h
#define ob__version_h
#define OB_MAJOR_VERSION @OB_MAJOR_VERSION@
#define OB_MINOR_VERSION @OB_MINOR_VERSION@
#define OB_MICRO_VERSION @OB_MICRO_VERSION@
#define OB_VERSION "@OB_VERSION@"
#define OB_CHECK_VERSION(major,minor,micro) \
(OB_MAJOR_VERSION > (major) || \
(OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION > (minor)) || \
(OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION == (minor) && \
OB_MICRO_VERSION >= (micro)))
#endif