xref: /haiku/src/apps/screenshot/Screenshot.h (revision e5b2296d483e9475547f6334183166e6d5ed10e4)
1a75264d3SKarsten Heimrich /*
2a75264d3SKarsten Heimrich  * Copyright Karsten Heimrich, host.haiku@gmx.de. All rights reserved.
3a75264d3SKarsten Heimrich  * Distributed under the terms of the MIT License.
4689b99a7SFredrik Modeen  *
5689b99a7SFredrik Modeen  * Authors:
6689b99a7SFredrik Modeen  *		Karsten Heimrich
7689b99a7SFredrik Modeen  *		Fredrik Modéen
8a75264d3SKarsten Heimrich  */
9689b99a7SFredrik Modeen #ifndef SCREENSHOT_H
10689b99a7SFredrik Modeen #define SCREENSHOT_H
11689b99a7SFredrik Modeen 
12689b99a7SFredrik Modeen 
13a75264d3SKarsten Heimrich #include <Application.h>
14*e5b2296dSAdrien Destugues #include <Catalog.h>
15a75264d3SKarsten Heimrich 
16a75264d3SKarsten Heimrich 
17a75264d3SKarsten Heimrich class Screenshot : public BApplication {
18a75264d3SKarsten Heimrich public:
19a75264d3SKarsten Heimrich 						Screenshot();
20a75264d3SKarsten Heimrich 	virtual				~Screenshot();
21a75264d3SKarsten Heimrich 
22a75264d3SKarsten Heimrich 	virtual	void		ReadyToRun();
23a75264d3SKarsten Heimrich 	virtual	void		RefsReceived(BMessage* message);
24a75264d3SKarsten Heimrich 	virtual	void		ArgvReceived(int32 argc, char** argv);
25a75264d3SKarsten Heimrich 
26a75264d3SKarsten Heimrich private:
27a75264d3SKarsten Heimrich 			void		_ShowHelp() const;
28689b99a7SFredrik Modeen 			void		_SetImageTypeSilence(const char* name);
29a75264d3SKarsten Heimrich 
30a75264d3SKarsten Heimrich 	bool				fArgvReceived;
31ef52eb17SKarsten Heimrich 	bool				fRefsReceived;
32689b99a7SFredrik Modeen 	int32				fImageFileType;
33689b99a7SFredrik Modeen 	int32				fTranslator;
34*e5b2296dSAdrien Destugues 	BCatalog				fCatalog;
35a75264d3SKarsten Heimrich };
36689b99a7SFredrik Modeen 
37689b99a7SFredrik Modeen #endif	/* SCREENSHOT_H */
38