uidesigner/com.nokia.sdt.component.symbian.test/data/srcmapping/SDK/bitmasks.rh
author timkelly
Wed, 24 Jun 2009 14:21:31 -0500
changeset 297 192fda8b2d77
parent 0 fb279309251b
permissions -rw-r--r--
update test for plat macros to use newer SDK (S60 5th ed.)


#define EAknOneBit 1
#define EAknTwoBit 0x2
#define EAknThree (EAknOneBit | EAknTwoBit)

#define EAknRed (0x1)
#define EAknGreen 0x2
#define EAknBlue 4
#define EAknWhite (7)
#define EAknYellow (EAknRed | EAknGreen)
#define EAknBlack 0

STRUCT BITMASK {
	LONG numbers = -1;
	LONG colors = -1;
}

enum {
	EAknRedEnum = 1,
	EAknGreenEnum = 2,
	EAknBlueEnum = 4,
	EAknWhiteEnum = 7,
	EAknYellowEnum = EAknRedEnum | EAknGreenEnum,
	EAknBlackEnum = 0
};

STRUCT BITMASK_DEFAULTS {
	LONG numbers = 0;
	LONG colors = EAknGreenEnum;
}