ClientAgentInputFilter.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * The contents of this file are subject to the Mozilla Public
  3. * License Version 1.1 (the "License"); you may not use this file
  4. * except in compliance with the License. You may obtain a copy of
  5. * the License at http://www.mozilla.org/MPL/
  6. *
  7. * Software distributed under the License is distributed on an "AS
  8. * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9. * implied. See the License for the specific language governing
  10. * rights and limitations under the License.
  11. *
  12. * The Original Code is Vision.
  13. *
  14. * The Initial Developer of the Original Code is The Vision Team.
  15. * Portions created by The Vision Team are
  16. * Copyright (C) 1999, 2000, 2001 The Vision Team. All Rights
  17. * Reserved.
  18. *
  19. * Contributor(s): Wade Majors <wade@ezri.org>
  20. * Rene Gollent
  21. * Todd Lair
  22. * Andrew Bazan
  23. * Jamie Wilkinson
  24. */
  25. #ifndef _CLIENTAGENTINPUTFILTER_H_
  26. #define _CLIENTAGENTINPUTFILTER_H_
  27. #include <MessageFilter.h>
  28. class ClientWindow;
  29. class ClientAgentInputFilter : public BMessageFilter
  30. {
  31. ClientAgent *fWindow;
  32. bool fHandledDrop;
  33. public:
  34. ClientAgentInputFilter (ClientAgent *);
  35. virtual filter_result Filter (BMessage *, BHandler **);
  36. filter_result HandleKeys (BMessage *);
  37. void HandleDrop (const char *);
  38. };
  39. #endif