Changeset 1222 for trunk/include/platform.h
- Timestamp:
- 07/04/11 22:08:33 (23 months ago)
- File:
-
- 1 edited
-
trunk/include/platform.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/platform.h
r1187 r1222 16 16 #include "modelist.h" 17 17 18 // this is nasty, but not as nasty as checking each of the flags all over the place 19 #define MODE_IS_VIDEO(m) (((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_STD || \ 20 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_SPEED || \ 21 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_COMPACT || \ 22 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_MY_COLORS || \ 23 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_COLOR_ACCENT || \ 24 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_COLOR_SWAP || \ 25 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_TIME_LAPSE || \ 26 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_PORTRAIT || \ 27 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_NIGHT || \ 28 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_INDOOR || \ 29 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_FOLIAGE || \ 30 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_SNOW || \ 31 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_BEACH || \ 32 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_AQUARIUM || \ 33 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_SUPER_MACRO || \ 34 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_STITCH || \ 35 ((m)&MODE_SHOOTING_MASK)==MODE_VIDEO_MANUAL) 18 // converted large macro to function in platform/generic/shooting.c (philmoz July 2011) 19 extern int mode_is_video(int); 20 #define MODE_IS_VIDEO(m) mode_is_video(m) 36 21 37 22 /* propcase ID constants. These are in their own header files for easier sed processing */
Note: See TracChangeset
for help on using the changeset viewer.