libzypp  10.5.0
RepoVariables.h
Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00009 
00010 #ifndef ZYPP_REPO_VARIABLES_H_
00011 #define ZYPP_REPO_VARIABLES_H_
00012 
00013 #include <string>
00014 #include "zypp/Url.h"
00015 
00017 namespace zypp
00018 {
00020   namespace repo
00021   {
00022 
00034     struct RepoVariablesStringReplacer : public std::unary_function<const std::string &, std::string>
00035     {
00036       std::string operator()( const std::string & value_r ) const;
00037     };
00038 
00045     struct RepoVariablesUrlReplacer : public std::unary_function<const Url &, Url>
00046     {
00047       Url operator()( const Url & url_r ) const;
00048     };
00049 
00050   } // namespace repo
00052 } // namespace zypp
00054 
00055 #endif