xref: /haiku/src/apps/screenshot/Screenshot.h (revision 3be9edf8da228afd9fec0390f408c964766122aa)
1 /*
2  * Copyright Karsten Heimrich, host.haiku@gmx.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Karsten Heimrich
7  *		Fredrik Modéen
8  */
9 #ifndef SCREENSHOT_H
10 #define SCREENSHOT_H
11 
12 
13 #include <Application.h>
14 
15 
16 class Screenshot : public BApplication {
17 public:
18 						Screenshot();
19 	virtual				~Screenshot();
20 
21 	virtual	void		ReadyToRun();
22 	virtual	void		RefsReceived(BMessage* message);
23 	virtual	void		ArgvReceived(int32 argc, char** argv);
24 
25 private:
26 			void		_ShowHelp() const;
27 			void		_SetImageTypeSilence(const char* name);
28 
29 	bool				fArgvReceived;
30 	bool				fRefsReceived;
31 	int32				fImageFileType;
32 	int32				fTranslator;
33 };
34 
35 #endif	/* SCREENSHOT_H */
36