/*
 *  ITnTrafficProtoBufData.h
 *
 *  Created by Thant on July 15, 2013.
 *  Copyright 2013 TeleNav. All rights reserved.
 *
 */

#ifndef ITN_TRAFFIC_PROTOBUF_DATA_H
#define ITN_TRAFFIC_PROTOBUF_DATA_H

#include <foundation/SharedPtr.h>
#include <foundation/WeakPtr.h>

#include <foundation/TnTypes.h>

#include <NavProtocol/map.traffic.pb.h>

#include <RenderEngine/TnMapTileDataRequest.h>



class ITnTrafficProtoBufData : public TnMapTileDataRequest
{
public:

    typedef Tn::Foundation::weak_ptr<ITnTrafficProtoBufData> wptr;
    typedef Tn::Foundation::shared_ptr<ITnTrafficProtoBufData> ptr;

    virtual ~ITnTrafficProtoBufData();

    typedef com::telenav::proto::map::TrafficResponse ProtoBuf;
    typedef Tn::Foundation::shared_ptr<ProtoBuf> ProtoBufPtr;

    virtual void SetTrafficData(ProtoBufPtr const &) = 0;
};


#endif // ITN_TRAFFIC_PROTOBUF_DATA_H
