Introduce version 0.1
[dueringa_WikiWalker.git] / src / WikiWalker.h
blob272f656235d2f6a1bb024953df4cfac47c6b46d7
1 //! \file WikiWalker.h
3 #ifndef _WIKIWALKER_H
4 #define _WIKIWALKER_H
6 #include <string>
7 #include "Walker.h"
8 #include "CurlWikiGrabber.h"
10 //! main "app" class
11 class WikiWalker : public Walker
13 public:
14 /*! given an URL, start collecting links
15 * \param url start point for analysis
17 void startWalking(std::string url);
19 /*! Read data from cache file.
20 * Used for initialization.
21 * \param cache file name of the cache.
23 void readCache(std::string cache);
25 /*! Write data to cache file.
26 * \param cache file name of the cache.
28 void writeCache(std::string cache);
30 private:
31 CurlWikiGrabber grabber;
35 #endif // _WIKIWALKER_H