//
//  NotificationObserver.h
//  Meteor
//
//  Created by Cesar Parent on 13/08/2015.
//  Copyright (c) 2015 Cesar Parent. All rights reserved.
//

#ifndef Meteor_NotificationObserver_h
#define Meteor_NotificationObserver_h

#include <string>
#include <functional>
#include "../CPFoundation.h"
#include "../defines.h"

NS_BEGIN

struct Notification;

struct NotificationObserver {
    
    const char*     name;
    
    CPObject*       object;
    
    std::function<void(const Notification&)> callback;
    
};

NS_END

#endif
