~thopiekar/zypper/libzypp-manual-import

« back to all changes in this revision

Viewing changes to zypp/media/MediaPlugin.cc

  • Committer: Thomas-Karl Pietrowski
  • Date: 2014-01-29 22:44:28 UTC
  • Revision ID: thopiekar@googlemail.com-20140129224428-gpcqnsdakby362n8
firstĀ import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*---------------------------------------------------------------------\
 
2
|                          ____ _   __ __ ___                          |
 
3
|                         |__  / \ / / . \ . \                         |
 
4
|                           / / \ V /|  _/  _/                         |
 
5
|                          / /__ | | | | | |                           |
 
6
|                         /_____||_| |_| |_|                           |
 
7
|                                                                      |
 
8
\---------------------------------------------------------------------*/
 
9
/** \file zypp/media/MediaPlugin.cc
 
10
 *
 
11
*/
 
12
#include <iostream>
 
13
 
 
14
#include "zypp/base/LogTools.h"
 
15
#include "zypp/base/String.h"
 
16
 
 
17
#include "zypp/ExternalProgram.h"
 
18
 
 
19
#include "zypp/media/MediaPlugin.h"
 
20
#include "zypp/media/MediaManager.h"
 
21
 
 
22
using std::endl;
 
23
 
 
24
//////////////////////////////////////////////////////////////////////
 
25
namespace zypp
 
26
{ ////////////////////////////////////////////////////////////////////
 
27
  ////////////////////////////////////////////////////////////////////
 
28
  namespace media
 
29
  { //////////////////////////////////////////////////////////////////
 
30
 
 
31
    MediaPlugin::MediaPlugin( const Url & url_r, const Pathname & attach_point_hint_r )
 
32
      : MediaHandler( url_r, attach_point_hint_r, /*path below attachpoint*/"/", /*does_download*/false )
 
33
    {
 
34
      MIL << "MediaPlugin::MediaPlugin(" << url_r << ", " << attach_point_hint_r << ")" << endl;
 
35
    }
 
36
    void MediaPlugin::attachTo( bool next_r )
 
37
    {}
 
38
 
 
39
    void MediaPlugin::releaseFrom( const std::string & ejectDev_r )
 
40
    {}
 
41
 
 
42
    void MediaPlugin::getFile( const Pathname & filename_r ) const
 
43
    {}
 
44
 
 
45
    void MediaPlugin::getDir( const Pathname & dirname_r, bool recurse_r ) const
 
46
    {}
 
47
 
 
48
    void MediaPlugin::getDirInfo( std::list<std::string> & retlist_r, const Pathname & dirname_r, bool dots_r ) const
 
49
    {}
 
50
 
 
51
    void MediaPlugin::getDirInfo( filesystem::DirContent & retlist_r, const Pathname & dirname_r, bool dots_r ) const
 
52
    {}
 
53
 
 
54
    bool MediaPlugin::getDoesFileExist( const Pathname & filename_r ) const
 
55
    { return false; }
 
56
 
 
57
    //////////////////////////////////////////////////////////////////
 
58
  } // namespace media
 
59
  ////////////////////////////////////////////////////////////////////
 
60
  ////////////////////////////////////////////////////////////////////
 
61
} // namespace zypp
 
62
//////////////////////////////////////////////////////////////////////