haiku/headers/os/add-ons/input_server/InputServerMethod.h
Stephan Aßmus a69c16fec5 Rewrote headers.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-27 12:35:43 +00:00

51 lines
1.1 KiB
C++

/*
* Copyright 2009, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _INPUTSERVERMETHOD_H
#define _INPUTSERVERMETHOD_H
#include <InputServerFilter.h>
class _BMethodAddOn_;
class AddOnManager;
class BMenu;
class InputServer;
class BInputServerMethod : public BInputServerFilter {
public:
BInputServerMethod(const char* name,
const uchar* icon);
virtual ~BInputServerMethod();
virtual status_t MethodActivated(bool active);
status_t EnqueueMessage(BMessage* message);
status_t SetName(const char* name);
status_t SetIcon(const uchar* icon);
status_t SetMenu(const BMenu* menu,
const BMessenger target);
private:
// FBC padding
virtual void _ReservedInputServerMethod1();
virtual void _ReservedInputServerMethod2();
virtual void _ReservedInputServerMethod3();
virtual void _ReservedInputServerMethod4();
uint32 _reserved[4];
private:
friend class AddOnManager;
friend class InputServer;
private:
_BMethodAddOn_* fOwner;
};
#endif // _INPUTSERVERMETHOD_H