// jotdemo.h
//
// Header file related to demo version of Jot 
#ifndef JOTDEMO_H
#define JOTDEMO_H

#define JOT_DEMO_NUM_DAYS		15
#define JOT_DEMO_INSTALL_DATE	TEXT("JotWrite")
#define JOT_DEMO_LAST_POPUP_DATE TEXT("JotInfo")

#define JOT_SCRAMBLE1			0x725ba8ec
#define JOT_SCRAMBLE2			0x38e9041d
#define SCRAMBLE(x)		(((x) + JOT_SCRAMBLE2) ^ JOT_SCRAMBLE1) 
#define UNSCRAMBLE(x)	(((x) ^ JOT_SCRAMBLE1) - JOT_SCRAMBLE2)

#define JOT_SCRAMBLE4			0x147dae3b
#define JOT_SCRAMBLE5			0x2e4d976b
#define COVER(x)		(((x) + JOT_SCRAMBLE5) ^ JOT_SCRAMBLE4) 
#define UNCOVER(x)		(((x) ^ JOT_SCRAMBLE4) - JOT_SCRAMBLE5)

#endif