1/* 2 * Copyright 2010 Wim van der Meer <WPJvanderMeer@gmail.com> 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef SCREENSHOT_H 6#define SCREENSHOT_H 7 8 9#include <Application.h> 10#include <Catalog.h> 11 12 13class BBitmap; 14class Utility; 15 16 17class Screenshot : public BApplication { 18public: 19 Screenshot(); 20 ~Screenshot(); 21 22 void ReadyToRun(); 23 void ArgvReceived(int32 argc, char** argv); 24 25private: 26 void _ShowHelp(); 27 void _New(bigtime_t delay); 28 status_t _GetActiveWindowFrame(); 29 int32 _ImageType(const char* name) const; 30 31private: 32 Utility* fUtility; 33 bool fLaunchGui; 34}; 35 36 37#endif // SCREENSHOT_H 38