X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Futil.hpp;h=5b81d04b1ad7ad377fe09438b37790a04c2c8c47;hb=872baf038ffe10f670ba45082c6911201e2ac4cb;hp=45add313aa3253163b8be4b28001d3c15461517f;hpb=743341841a21a695d08c99b27a30329119030db5;p=metaproxy-moved-to-github.git diff --git a/src/util.hpp b/src/util.hpp index 45add31..5b81d04 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -1,4 +1,4 @@ -/* $Id: util.hpp,v 1.11 2006-01-20 22:38:12 marc Exp $ +/* $Id: util.hpp,v 1.12 2006-01-25 11:27:19 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -10,9 +10,10 @@ #include #include #include +#include #include - +#include #include "package.hpp" namespace yp2 { @@ -74,7 +75,16 @@ namespace yp2 { private: ODR m_odr; }; - + + class PlainFile { + class Rep; + boost::scoped_ptr m_p; + public: + PlainFile(); + ~PlainFile(); + bool open(const std::string &fname); + bool getline(std::vector &args); + }; } #endif /*