17 #ifndef __KMIME_BOOLFLAGS_H__ 18 #define __KMIME_BOOLFLAGS_H__ 20 #include <kdemacros.h> 34 void set( unsigned int i, bool b= true); 35 bool get( unsigned int i); 36 void clear() { bits[0]=0; bits[1]=0; } 37 unsigned char *data() { return bits; } 40 unsigned char bits[2]; 43 #endif // __KMIME_BOOLFLAGS_H__ This class stores boolean values in single bytes.
|