Switch to unified view

a/src/utils/pathut.h b/src/utils/pathut.h
...
...
85
    string m_reason;
85
    string m_reason;
86
};
86
};
87
87
88
typedef RefCntr<TempFileInternal> TempFile;
88
typedef RefCntr<TempFileInternal> TempFile;
89
89
90
/// Temporary directory class
91
class TempDir {
92
public:
93
    TempDir();
94
    ~TempDir();
95
    const char *dirname() {return m_dirname.c_str();}
96
    const string &getreason() {return m_reason;}
97
    bool ok() {return !m_dirname.empty();}
98
    bool wipe();
99
private:
100
    string m_dirname;
101
    string m_reason;
102
};
103
90
#endif /* _PATHUT_H_INCLUDED_ */
104
#endif /* _PATHUT_H_INCLUDED_ */