libzypp  11.13.5
RepoVariables.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
9 
10 #ifndef ZYPP_REPO_VARIABLES_H_
11 #define ZYPP_REPO_VARIABLES_H_
12 
13 #include <string>
14 #include "zypp/Url.h"
15 
17 namespace zypp
18 {
20  namespace repo
21  {
22 
34  struct RepoVariablesStringReplacer : public std::unary_function<const std::string &, std::string>
35  {
36  std::string operator()( const std::string & value_r ) const;
37  };
38 
45  struct RepoVariablesUrlReplacer : public std::unary_function<const Url &, Url>
46  {
47  Url operator()( const Url & url_r ) const;
48  };
49 
50  } // namespace repo
52 } // namespace zypp
54 
55 #endif