OpenCores
URL https://opencores.org/ocsvn/bw_tiff_compression/bw_tiff_compression/trunk

Subversion Repositories bw_tiff_compression

[/] [bw_tiff_compression/] [trunk/] [client_application/] [src/] [Libs/] [CPathLib.h] - Blame information for rev 16

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 amulder
/*
2
 * @file     PathLib.h
3
 * @date     May 14, 2012
4
 * @author   Aart Mulder
5
 */
6
 
7
#ifndef CPATHLIB_H
8
#define CPATHLIB_H
9
 
10
/* System includes */
11
#ifdef QT
12
#include <QDataStream>
13
#include <QList>
14
#include <QString>
15
#else
16
#include <list>
17
#include <string>
18
#endif
19
 
20
/* Own includes */
21
 
22
class CPathLib
23
{
24
public:
25
    CPathLib();
26
 
27
        static char* CompletePath(char* pcPath);
28
        static std::string CompletePath(std::string sPath);
29
#ifdef QT
30
        static QString CompletePath(QString sPath);
31
#endif
32
 
33
#ifdef QT
34
        static void DeleteFiles(QList<QString> *pFiles, QList<bool> *pResults);
35
#else
36
        static void DeleteFiles(std::list<std::string> *pFiles, std::list<bool> *pResults);
37
#endif
38
 
39
#ifdef QT
40
    static QList<QString> ReadDir(QString sDir);
41
        static bool ReadDir(QString sDir, QList<QString> *paFiles, QString sFilter);
42
        static bool ReadDir(QString sDir, QList<QString> *paFiles, QList<quint32> *paFileSizes = NULL, QString *sFilter = NULL);
43
#endif
44
 
45
};
46
 
47
#endif // CPATHLIB_H

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.