[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / third_party / ocmock / OCMock / OCMNotificationPoster.m
blob64973a2ae3d7ece5fec37e71eee2fe87559b676e
1 //---------------------------------------------------------------------------------------
2 //  $Id$
3 //  Copyright (c) 2009 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import "OCMNotificationPoster.h"
9 @implementation OCMNotificationPoster
11 - (id)initWithNotification:(id)aNotification
13         self = [super init];
14         notification = [aNotification retain];
15         return self;
18 - (void)dealloc
20         [notification release];
21         [super dealloc];
24 - (void)handleInvocation:(NSInvocation *)anInvocation
26         [[NSNotificationCenter defaultCenter] postNotification:notification];
30 @end