#import "Profile.h"
#import "DWObject.h"


/* Min & Max */

#ifndef MIN
#define MIN(a,b) (a>b) ? b : a
#endif

#ifndef MAX
#define MAX(a,b) (a>b) ? a : b
#endif


/* NSNumber */

#ifndef NINT
#define NINT(a) [NSNumber numberWithInt: a]
#endif

#ifndef NFLOAT
#define NFLOAT(a) [NSNumber numberWithFloat: a]
#endif

#ifndef NBOOL
#define NBOOL(a) [NSNumber numberWithBool: a]
#endif

#ifndef NCHAR
#define NCHAR(a) [NSNumber numberWithChar: a]
#endif


/* Defines */

#define DWNull [NSNull null]
#define NSFM [NSFileManager defaultManager]


/* String Equality */

    
#define EQUAL(A,B) [A isEqualToString: B]
