Widget: Support new "m.widget" state event type but keep using "im.vector.modular.widgets" for operations

while the move is not fully done (https://docs.google.com/document/d/1uPF7XWY_dXTKVKV7jZQ2KmsI19wn9-kFRgQ1tFQP7wQ/edit?usp=sharing)
This commit is contained in:
manuroe
2018-05-07 10:12:02 +02:00
parent ce3f22740f
commit d9d3d1deeb
5 changed files with 35 additions and 17 deletions
+8 -2
View File
@@ -21,9 +21,15 @@
#import "Widget.h"
/**
The type of matrix event used for modular widgets.
The type of matrix event used for matrix widgets.
*/
FOUNDATION_EXPORT NSString *const kWidgetEventTypeString;
FOUNDATION_EXPORT NSString *const kWidgetMatrixEventTypeString;
/**
The type of matrix event used for modular widgets.
TODO: It should be replaced by kWidgetMatrixEventTypeString.
*/
FOUNDATION_EXPORT NSString *const kWidgetModularEventTypeString;
/**
Known types widgets.