Sha256: 30eeefe6b011252ac692c44482da0f357be5487350b382a2f1f9b49248837293
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 KB
Contents
/***************************************************************************** $Id: page.h 2421 2006-04-29 23:48:49Z francis $ File: page.h Date: 30Apr06 Copyright (C) 2006 by Francis Cianfrocca. All Rights Reserved. Gmail: garbagecat20 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *****************************************************************************/ #ifndef __PageManager__H_ #define __PageManager__H_ /************** class PageList **************/ class PageList { struct Page { Page (const char *b, size_t s): Buffer(b), Size(s) {} const char *Buffer; size_t Size; }; public: PageList(); virtual ~PageList(); void Push (const char*, int); bool HasPages(); void Front (const char**, int*); void PopFront(); private: deque<Page> Pages; }; #endif // __PageManager__H_
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eventmachine-0.5.1 | ext/page.h |
eventmachine-0.5.2 | ext/page.h |