summaryrefslogtreecommitdiff
path: root/project2/urlRows.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-12-17 23:01:10 +0000
committerrandomdan <randomdan@localhost>2010-12-17 23:01:10 +0000
commita8f7ef5893617d7be4079ef8292ea2a5c4ac7777 (patch)
treea674036788ea48c5485f0382ae02e6e778c6a92d /project2/urlRows.h
parentReturn HTTP 500 on error (diff)
downloadproject2-a8f7ef5893617d7be4079ef8292ea2a5c4ac7777.tar.bz2
project2-a8f7ef5893617d7be4079ef8292ea2a5c4ac7777.tar.xz
project2-a8f7ef5893617d7be4079ef8292ea2a5c4ac7777.zip
Remove the stupid _ naming convention
Diffstat (limited to 'project2/urlRows.h')
-rw-r--r--project2/urlRows.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/project2/urlRows.h b/project2/urlRows.h
index 83c11ce..3333fca 100644
--- a/project2/urlRows.h
+++ b/project2/urlRows.h
@@ -7,10 +7,10 @@
#include <map>
#include "perRowValues.h"
-class _UrlRows : public PerRowValues {
+class UrlRows : public PerRowValues {
public:
- _UrlRows(const xmlpp::Element * p);
- ~_UrlRows();
+ UrlRows(const xmlpp::Element * p);
+ ~UrlRows();
virtual void loadComplete(const CommonObjects *);
void execute(const RowProcessor *) const;
@@ -33,11 +33,11 @@ class _UrlRows : public PerRowValues {
private:
struct callback {
- callback(const _UrlRows * urlRows, const RowProcessor * rp);
- const _UrlRows * urlRows;
+ callback(const UrlRows * urlRows, const RowProcessor * rp);
+ const UrlRows * urlRows;
const RowProcessor * rp;
};
- static size_t _handleData(const char * ptr, size_t size, size_t nmemb, void * stream);
+ static size_t handleDataHelper(const char * ptr, size_t size, size_t nmemb, void * stream);
size_t handleData(const RowProcessor * rp, const char * bytes, size_t bytesLen) const;
gunichar fieldSep;
gunichar quoteChar;
@@ -53,7 +53,6 @@ class _UrlRows : public PerRowValues {
mutable bool prevWasQuote;
mutable Glib::ustring tok;
};
-typedef boost::intrusive_ptr<_UrlRows> UrlRows;
#endif