// // Copyright 2009 Johannes Hofmann // // This software may be used and distributed according to the terms // of the GNU General Public License, incorporated herein by reference. #ifndef SCREENDUMP_H #define SCREENDUMP_H #include "GipfelWidget.H" class ScreenDump { private: int w, h; unsigned char * rgb; public: ScreenDump(GipfelWidget *g); ~ScreenDump(); int save(const char *file); }; #endif