зеркало из https://github.com/mozilla/gecko-dev.git
Moved XFE_DoCommandArgs from Command.h to Button.h.
This commit is contained in:
Родитель
05ffb2b7e1
Коммит
977a59c1c9
|
@ -32,19 +32,6 @@
|
|||
|
||||
#define MAX_ICON_GROUPS 4
|
||||
|
||||
typedef struct XFE_DoCommandArgs
|
||||
{
|
||||
public:
|
||||
CommandType cmd;
|
||||
void* callData;
|
||||
XFE_CommandInfo* info;
|
||||
|
||||
XFE_DoCommandArgs(CommandType command, void* cd = NULL,
|
||||
XFE_CommandInfo* i = NULL)
|
||||
: cmd(command), callData(cd), info(i) {}
|
||||
|
||||
} XFE_doCommandArgs;
|
||||
|
||||
class XFE_Button : public XFE_Component
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -253,5 +253,21 @@ public:
|
|||
virtual char* getObjectType(XFE_View*) = 0;
|
||||
};
|
||||
|
||||
//
|
||||
// Class used to pass arguments in notifications
|
||||
//
|
||||
class XFE_DoCommandArgs
|
||||
{
|
||||
public:
|
||||
CommandType cmd;
|
||||
void* callData;
|
||||
XFE_CommandInfo* info;
|
||||
|
||||
XFE_DoCommandArgs(CommandType command, void* cd = NULL,
|
||||
XFE_CommandInfo* i = NULL)
|
||||
: cmd(command), callData(cd), info(i) {}
|
||||
|
||||
};
|
||||
|
||||
#endif /* _xfe_command_h */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче