repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / screenshot / Screenshot.h
blobc92685c5a47cbd40ee53fd1e464c4e9198fa67cd
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
9 #include <Application.h>
10 #include <Catalog.h>
13 class BBitmap;
14 class Utility;
17 class Screenshot : public BApplication {
18 public:
19 Screenshot();
20 ~Screenshot();
22 void ReadyToRun();
23 void ArgvReceived(int32 argc, char** argv);
25 private:
26 void _ShowHelp();
27 void _New(bigtime_t delay);
28 status_t _GetActiveWindowFrame();
29 int32 _ImageType(const char* name) const;
31 private:
32 Utility* fUtility;
33 bool fLaunchGui;
37 #endif // SCREENSHOT_H