Interface::Execute Command Options

Interface::Execute Command Options

Module description

See Interface::Execute.

Macros

#define I_EXEC_REGISTER_POSTSAVE_CB   1001
 For example: More...
 
#define I_EXEC_UNREGISTER_POSTSAVE_CB   1002
 Un-registers a callback which is called after a File / Save operation has occurred. More...
 
#define I_EXEC_REGISTER_PRESAVE_CB   1003
 Registers a callback which is called before a File / Save operation has occurred. More...
 
#define I_EXEC_UNREGISTER_PRESAVE_CB   1004
 Un-registers a callback which is called before a File / Save operation has occurred. More...
 

Macro Definition Documentation

#define I_EXEC_REGISTER_POSTSAVE_CB   1001

For example:

1 static GenericCallback mycb;
2 GetCOREInterface()->Execute(I_EXEC_REGISTER_POSTSAVE_CB,&mycb);

and when you are done:

1 GetCOREInterface()->Execute(I_EXEC_UNREGISTER_POSTSAVE_CB,&mycb);

For an alternative approach, see Structure NotifyInfo. Registers a callback which is called after a File / Save operation has occurred.

#define I_EXEC_UNREGISTER_POSTSAVE_CB   1002

Un-registers a callback which is called after a File / Save operation has occurred.

#define I_EXEC_REGISTER_PRESAVE_CB   1003

Registers a callback which is called before a File / Save operation has occurred.

#define I_EXEC_UNREGISTER_PRESAVE_CB   1004

Un-registers a callback which is called before a File / Save operation has occurred.