blob: f67af8b00c1cc0a3b8d9fc1721dd7882a326cc52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* xml-cache.h
*/
#ifndef __XML_CACHE_H
#define __XML_CACHE_H
#include "xml-base.h"
#include "trackinfo.h"
#include <unistd.h>
#include <string>
#include <iostream>
class cXmlCache: public cXmlBase {
private:
void rebuild_track(const std::string &path, const char *date,
const char *time);
protected:
virtual void copy_to_objects(void);
public:
cXmlCache(void);
void ReadDir(int level, std::string path);
void rebuild(void);
void add_track(const cTrackInfo &trackinfo, bool save = true);
};
#endif /* __XML_CACHE_H */
|