//
//  CRConstants.h
//  CRKit
//
//  Created by Yaroslav Glushchenko on 3/19/10.
//  Copyright 2010 Corner-A. All rights reserved.
//

extern NSString* const CRDataDroppedNotification;

extern NSString* const CRAttachedWindowDidAttachNotification;
extern NSString* const CRAttachedWindowDidDetachNotification;
extern NSString* const CRAttachedWindowRootViewKey;

extern NSString* const CRShowWelcomeWindowKey;

#define assigned									__unsafe_unretained
#define CRThisBundle()								[NSBundle bundleForClass:[self class]]
#define CRLocalizedStringFromBundle(bundle, key)	[(bundle) localizedStringForKey:(key) value:nil table:nil]
#define CRLocalizedStringForSelfClass(key)			[CRThisBundle() localizedStringForKey:(key) value:nil table:nil]