xref: /haiku/src/apps/screenshot/Screenshot.h (revision 17889a8c70dbb3d59c1412f6431968753c767bab)
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 
13 class BBitmap;
14 class Utility;
15 
16 
17 class Screenshot : public BApplication {
18 public:
19 						Screenshot();
20 						~Screenshot();
21 
22 			void		ReadyToRun();
23 			void		ArgvReceived(int32 argc, char** argv);
24 
25 private:
26 			void		_ShowHelp();
27 			void		_New(bigtime_t delay);
28 			status_t	_GetActiveWindowFrame();
29 			int32		_ImageType(const char* name) const;
30 
31 private:
32 			Utility*	fUtility;
33 			bool		fLaunchGui;
34 };
35 
36 
37 #endif // SCREENSHOT_H
38