--- /dev/null
+/*****************************************************************************\r
+\r
+$Id$\r
+\r
+File: page.h\r
+Date: 30Apr06\r
+\r
+Copyright (C) 2006-07 by Francis Cianfrocca. All Rights Reserved.\r
+Gmail: blackhedd\r
+\r
+This program is free software; you can redistribute it and/or modify\r
+it under the terms of either: 1) the GNU General Public License\r
+as published by the Free Software Foundation; either version 2 of the\r
+License, or (at your option) any later version; or 2) Ruby's License.\r
+\r
+See the file COPYING for complete licensing information.\r
+\r
+*****************************************************************************/\r
+\r
+\r
+#ifndef __PageManager__H_\r
+#define __PageManager__H_\r
+\r
+\r
+/**************\r
+class PageList\r
+**************/\r
+\r
+class PageList\r
+{\r
+ struct Page {\r
+ Page (const char *b, size_t s): Buffer(b), Size(s) {}\r
+ const char *Buffer;\r
+ size_t Size;\r
+ };\r
+\r
+ public:\r
+ PageList();\r
+ virtual ~PageList();\r
+\r
+ void Push (const char*, int);\r
+ bool HasPages();\r
+ void Front (const char**, int*);\r
+ void PopFront();\r
+\r
+ private:\r
+ deque<Page> Pages;\r
+};\r
+\r
+\r
+#endif // __PageManager__H_\r