]> git.decadent.org.uk Git - videolink.git/blob - videolink.hpp
Update version checks for XULRunner 2.0 (beta)
[videolink.git] / videolink.hpp
1 #ifndef INC_VIDEOLINK_HPP
2 #define INC_VIDEOLINK_HPP
3
4 #include <string>
5
6 void fatal_error(const std::string & message);
7
8 #define MOZ_VERSION_EQ(major, minor, micro)                             \
9     (MOZ_VERSION_MAJOR == (major) &&                                    \
10      MOZ_VERSION_MINOR == (minor) &&                                    \
11      MOZ_VERSION_MICRO == (micro))
12 #define MOZ_VERSION_GE(major, minor, micro)                             \
13     (MOZ_VERSION_MAJOR > (major) ||                                     \
14      (MOZ_VERSION_MAJOR == (major) &&                                   \
15       (MOZ_VERSION_MINOR > (minor) ||                                   \
16        (MOZ_VERSION_MINOR == (minor) && MOZ_VERSION_MICRO >= (micro)))))
17
18 #endif // !INC_VIDEOLINK_HPP