SAGA Adaptor CPI v.1.0
|
00001 // Copyright (c) 2005-2009 Hartmut Kaiser 00002 // 00003 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00005 00006 #if !defined(SAGA_ADAPTORS_URL_CPI_INSTANCE_DATA_FEB_10_2009_1213PM) 00007 #define SAGA_ADAPTORS_URL_CPI_INSTANCE_DATA_FEB_10_2009_1213PM 00008 00009 #include <saga/saga/url.hpp> 00010 #include <saga/saga/adaptors/config.hpp> 00011 #include <saga/saga/types.hpp> 00012 #include <saga/saga/adaptors/instance_data_base.hpp> 00013 00015 namespace saga { namespace adaptors { namespace v1_0 00016 { 00018 // Instance data held by the SAGA engine/package 00019 // This should be used as a base class when adding additional instance 00020 // data for an adaptor. 00021 struct url_cpi_instance_data 00022 : public adaptors::instance_data_base 00023 { 00024 url_cpi_instance_data(saga::url const& url) 00025 : url_(url) 00026 {} 00027 00028 saga::url url_; // url to translate 00029 }; 00030 00032 }}} // namespace saga::adaptors::v1_0 00033 00034 #endif