xref: /haiku/src/apps/screenshot/Screenshot.h (revision 62f5ba006a08b0df30631375878effaf67ae5dbc)
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 #include <Catalog.h>
15 
16 
17 class Screenshot : public BApplication {
18 public:
19 						Screenshot();
20 	virtual				~Screenshot();
21 
22 	virtual	void		ReadyToRun();
23 	virtual	void		RefsReceived(BMessage* message);
24 	virtual	void		ArgvReceived(int32 argc, char** argv);
25 
26 private:
27 			void		_ShowHelp() const;
28 			void		_SetImageTypeSilence(const char* name);
29 
30 	bool				fArgvReceived;
31 	bool				fRefsReceived;
32 	int32				fImageFileType;
33 	int32				fTranslator;
34 	BCatalog				fCatalog;
35 };
36 
37 #endif	/* SCREENSHOT_H */
38