//
//  XTNotifications.m
//  XTads
//
//  Created by Rune Berg on 11/12/14.
//  Copyright (c) 2014 Rune Berg. All rights reserved.
//

#import "XTNotifications.h"


@implementation XTNotifications

+ (void)notifyModalPanelOpened:(id)sender
{
	[[NSNotificationCenter defaultCenter] postNotificationName:XTadsNotifyModalPanelOpened object:sender];
}

+ (void)notifyModalPanelClosed:(id)sender
{
	[[NSNotificationCenter defaultCenter] postNotificationName:XTadsNotifyModalPanelClosed object:sender];
}

+ (void)notifyPrefsWindowClosed:(id)sender
{
	[[NSNotificationCenter defaultCenter] postNotificationName:XTadsNotifyPrefsWindowClosed object:self];
}

+ (void)notifyAboutWindowClosed:(id)sender
{
	[[NSNotificationCenter defaultCenter] postNotificationName:XTadsNotifyAboutWindowClosed object:self];
}

@end
