1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/ManagedFile.h
12 #ifndef ZYPP_MANAGEDFILE_H
13 #define ZYPP_MANAGEDFILE_H
17 #include "zypp/Pathname.h"
18 #include "zypp/AutoDispose.h"
20 ///////////////////////////////////////////////////////////////////
22 { /////////////////////////////////////////////////////////////////
24 /** A Pathname plus associated cleanup code to be executed when
25 * path is no longer needed.
27 typedef AutoDispose<const Pathname> ManagedFile;
29 /////////////////////////////////////////////////////////////////
31 ///////////////////////////////////////////////////////////////////
32 #endif // ZYPP_MANAGEDFILE_H