2.5 Branch: added WM_report and WM_reportf functions for reporting
[blender.git] / source / blender / windowmanager / WM_api.h
index 6b020a07fb94fa5ad6f78a63c397fff2f39eff6a..2f450c9bbd731d4c23c70074299c626f9211d3f4 100644 (file)
@@ -150,6 +150,10 @@ void WM_gesture_update(struct bContext *C, struct wmGesture *from);
 void WM_gesture_end(struct bContext *C, int type);
 void WM_gesture_free(wmWindow *win);
 
+                       /* Reporting information and errors */
+void WM_report(struct bContext *C, int type, const char *message);
+void WM_reportf(struct bContext *C, int type, const char *format, ...);
+
                        /* OpenGL wrappers, mimicing opengl syntax */
 void           wmLoadMatrix            (wmWindow *win, float mat[][4]);
 void           wmGetMatrix                     (wmWindow *win, float mat[][4]);