libzypp  17.35.16
MediaHandlerFactory.h
Go to the documentation of this file.
1 #ifndef MEDIAHANDLERFACTORY_H
2 #define MEDIAHANDLERFACTORY_H
3 
4 #include <zypp/Pathname.h>
5 #include <zypp/Url.h>
6 #include <memory>
7 #include <optional>
8 
9 
10 namespace zypp::media {
11 
12  class MediaHandler;
13 
15  {
16  public:
17 
27  };
28 
30  static std::unique_ptr<MediaHandler> createHandler (const Url& o_url, const Pathname & preferred_attach_point);
31  static std::optional<MediaHandlerType> handlerType( const Url &url );
32  };
33 
34 }
35 
36 
37 #endif // MEDIAHANDLERFACTORY_H
static std::unique_ptr< MediaHandler > createHandler(const Url &o_url, const Pathname &preferred_attach_point)
static std::optional< MediaHandlerType > handlerType(const Url &url)
Url manipulation class.
Definition: Url.h:92