/*
 *  ITnMapRouteProxy.h
 *  OpenGL Map Engine
 *
 *  Created by Thant on 4/7/2010
 *  Copyright 2009 TeleNav Inc. All rights reserved.
 *
 */

#ifndef ITN_MAP_ROUTE_PROXY_H
#define ITN_MAP_ROUTE_PROXY_H

#include <foundation/SharedPtr.h>

#include <RenderEngine/ITnMapRouteData.h>

class ITnMapRouteProxy
{
protected:

    virtual ~ITnMapRouteProxy() = 0;

public:
    
    typedef Tn::Foundation::shared_ptr<ITnMapRouteProxy> ptr;
    
    // Engine calls this to request the current route

    // asynchronous
    virtual void RequestRoute(ITnMapRouteData::ptr const & data) = 0;
    virtual void RequestRoute(std::string const & name, 
                              ITnMapRouteData::ptr const & data) = 0;
};

#endif
