tcp: Fix 64 bit build with debugging features enabled.
[haiku.git] / src / bin / checkitout.h
blob720f9d090b1740a2ceeee8b3fa480d354b6ba4da
1 /*
2 * Copyright 2007-2009 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _CHECKITOUT_H
6 #define _CHECKITOUT_H
8 #include <Application.h>
9 #include <String.h>
12 class CheckItOut : public BApplication
14 public:
15 CheckItOut();
16 ~CheckItOut();
18 virtual void RefsReceived(BMessage* msg);
19 virtual void MessageReceived(BMessage* msg);
20 virtual void ArgvReceived(int32 argc, char** argv);
21 virtual void ReadyToRun(void);
23 private:
24 status_t _Warn(const char* url);
25 status_t _DecodeUrlString(BString& string);
26 status_t _FilePanel(uint32 nodeFlavors, BString &name);
27 status_t _DoCheckItOut(entry_ref *ref, const char *name);
29 BString fUrlString;
32 #endif // _CHECKITOUT_H