Cleanup: Move interface_handlers.c to C++
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
* \ingroup bke
|
* \ingroup bke
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "BKE_undo_system.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -13,8 +15,6 @@ struct Main;
|
|||||||
struct MemFileUndoData;
|
struct MemFileUndoData;
|
||||||
struct bContext;
|
struct bContext;
|
||||||
|
|
||||||
enum eUndoStepDir;
|
|
||||||
|
|
||||||
#define BKE_UNDO_STR_MAX 64
|
#define BKE_UNDO_STR_MAX 64
|
||||||
|
|
||||||
struct MemFileUndoData *BKE_memfile_undo_encode(struct Main *bmain,
|
struct MemFileUndoData *BKE_memfile_undo_encode(struct Main *bmain,
|
||||||
|
@@ -43,7 +43,7 @@ set(SRC
|
|||||||
interface_drag.cc
|
interface_drag.cc
|
||||||
interface_draw.cc
|
interface_draw.cc
|
||||||
interface_dropboxes.cc
|
interface_dropboxes.cc
|
||||||
interface_handlers.c
|
interface_handlers.cc
|
||||||
interface_icons.cc
|
interface_icons.cc
|
||||||
interface_icons_event.cc
|
interface_icons_event.cc
|
||||||
interface_layout.cc
|
interface_layout.cc
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -1094,7 +1094,7 @@ const char *ui_textedit_undo(struct uiUndoStack_Text *undo_stack,
|
|||||||
int direction,
|
int direction,
|
||||||
int *r_cursor_index);
|
int *r_cursor_index);
|
||||||
|
|
||||||
/* interface_handlers.c */
|
/* interface_handlers.cc */
|
||||||
|
|
||||||
extern void ui_handle_afterfunc_add_operator(struct wmOperatorType *ot,
|
extern void ui_handle_afterfunc_add_operator(struct wmOperatorType *ot,
|
||||||
wmOperatorCallContext opcontext);
|
wmOperatorCallContext opcontext);
|
||||||
|
Reference in New Issue
Block a user