Moved XFE_DoCommandArgs from Command.h to Button.h.

git-svn-id: svn://10.0.0.236/trunk@12162 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ramiro%netscape.com 1998-10-07 05:08:07 +00:00
parent 99cf8567e9
commit 5397e4750e
2 changed files with 16 additions and 13 deletions

View File

@ -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:

View File

@ -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 */