FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kAction.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_ACTION_H
9 #define K_FIRESYNC_ACTION_H
10 
11 #include <kFireSync/kNodeDef.h>
13 
20 //typedef kObject kAction; --forward-declared in kFsDef.x.h
21 
30 kFsFx(kStatus) kAction_SetName(kAction action, const kChar* name);
31 
39 kFsFx(const kChar*) kAction_Name(kAction action);
40 
48 kFsFx(const kChar*) kAction_TypeName(kAction action);
49 
58 kFsFx(kStatus) kAction_SetTrigger(kAction action, kActionTrigger triggerType);
59 
68 
82 kFsFx(kStatus) kAction_SetConfig(kAction action, kXml settings);
83 
92 kFsFx(kStatus) kAction_Config(kAction action, kXml settings);
93 
107 kFsFx(kStatus) kAction_Invoke(kAction action, kObject input, kObject* output, kAlloc alloc);
108 
121 kFsFx(kStatus) kAction_InvokeAndSync(kAction action, kObject input, kObject* output, kAlloc alloc);
122 
123 #include <kFireSync/Client/kAction.x.h>
124 
125 #endif
kStatus kAction_Invoke(kAction action, kObject input, kObject *output, kAlloc alloc)
Invokes this action without applying the current settings to this node first.
const kChar * kAction_Name(kAction action)
Gets a descriptive name for this action.
kStatus kAction_SetConfig(kAction action, kXml settings)
Sets configuration for the action.
kStatus kAction_InvokeAndSync(kAction action, kObject input, kObject *output, kAlloc alloc)
Applies current setting to the node and invokes this action.
Represents an action trigger type.
kStatus kAction_SetName(kAction action, const kChar *name)
Sets a descriptive name for the action.
Essential declarations related to FireSync nodes.
Represents action configuration.
kStatus kAction_Config(kAction action, kXml settings)
Gets configuration for the action.
kActionTrigger kAction_Trigger(kAction action)
Gets the trigger type for the action.
kStatus kAction_SetTrigger(kAction action, kActionTrigger triggerType)
Sets the trigger type for the action.
const kChar * kAction_TypeName(kAction action)
Gets the type name of this action.
Declares the kAxAction class and related types.