1a75264d3SKarsten Heimrich /* 22ec6b3cfSWim van der Meer * Copyright 2010 Wim van der Meer <WPJvanderMeer@gmail.com> 3a75264d3SKarsten Heimrich * Distributed under the terms of the MIT License. 4a75264d3SKarsten Heimrich */ 5689b99a7SFredrik Modeen #ifndef SCREENSHOT_H 6689b99a7SFredrik Modeen #define SCREENSHOT_H 7689b99a7SFredrik Modeen 8689b99a7SFredrik Modeen 9a75264d3SKarsten Heimrich #include <Application.h> 10e5b2296dSAdrien Destugues #include <Catalog.h> 11a75264d3SKarsten Heimrich 12a75264d3SKarsten Heimrich 132ec6b3cfSWim van der Meer class BBitmap; 142ec6b3cfSWim van der Meer class Utility; 152ec6b3cfSWim van der Meer 162ec6b3cfSWim van der Meer 17a75264d3SKarsten Heimrich class Screenshot : public BApplication { 18a75264d3SKarsten Heimrich public: 19a75264d3SKarsten Heimrich Screenshot(); 202ec6b3cfSWim van der Meer ~Screenshot(); 21a75264d3SKarsten Heimrich 222ec6b3cfSWim van der Meer void ReadyToRun(); 232ec6b3cfSWim van der Meer void ArgvReceived(int32 argc, char** argv); 24a75264d3SKarsten Heimrich 25a75264d3SKarsten Heimrich private: 262ec6b3cfSWim van der Meer void _ShowHelp(); 272ec6b3cfSWim van der Meer void _New(bigtime_t delay); 282ec6b3cfSWim van der Meer status_t _GetActiveWindowFrame(); 29*cc946437SAxel Dörfler int32 _ImageType(const char* name) const; 30a75264d3SKarsten Heimrich 31*cc946437SAxel Dörfler private: 322ec6b3cfSWim van der Meer Utility* fUtility; 332ec6b3cfSWim van der Meer bool fLaunchGui; 34a75264d3SKarsten Heimrich }; 35689b99a7SFredrik Modeen 362ec6b3cfSWim van der Meer 372ec6b3cfSWim van der Meer #endif // SCREENSHOT_H 38