xref: /haiku/src/bin/urlwrapper.h (revision 68ea01249e1e2088933cb12f9c28d4e5c5d1c9ef)
1 /*
2  * Copyright 2007-2009 Haiku Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _URL_WRAPPER_H
6 #define _URL_WRAPPER_H
7 
8 #include <Application.h>
9 #include <String.h>
10 
11 
12 class UrlWrapper : public BApplication
13 {
14 public:
15 								UrlWrapper();
16 								~UrlWrapper();
17 
18 	virtual void				RefsReceived(BMessage* msg);
19 	virtual void				ArgvReceived(int32 argc, char** argv);
20 	virtual void				ReadyToRun(void);
21 
22 private:
23 			status_t			_Warn(const char* url);
24 			status_t			_DecodeUrlString(BString& string);
25 };
26 
27 #endif // _URL_WRAPPER_H
28 
29