4 * ***** BEGIN GPL LICENSE BLOCK *****
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 59 Temple Place * Suite 330, Boston, MA 02111*1307, USA.
20 * The Original Code is Copyright (C) 2009, Blender Foundation, Joshua Leung
21 * This is a new part of Blender (with some old code)
23 * Contributor(s): Joshua Leung
25 * ***** END GPL LICENSE BLOCK *****
31 /* KeyingSets/Keyframing Interface ------------- */
33 /* list of builtin KeyingSets (defined in keyingsets.c) */
34 extern ListBase builtin_keyingsets;
36 /* for builtin keyingsets - context poll */
37 short keyingset_context_ok_poll(bContext *C, KeyingSet *ks);
39 /* Main KeyingSet operations API call */
40 short modifykey_get_context_data (bContext *C, ListBase *dsources, KeyingSet *ks);
42 /* Operator Define Prototypes ------------------- */
44 /* Main Keyframe Management operators:
45 * These handle keyframes management from various spaces. They only make use of
48 void ANIM_OT_keyframe_insert(struct wmOperatorType *ot);
49 void ANIM_OT_keyframe_delete(struct wmOperatorType *ot);
51 /* Main Keyframe Management operators:
52 * These handle keyframes management from various spaces. They will handle the menus
53 * required for each space.
55 void ANIM_OT_keyframe_insert_menu(struct wmOperatorType *ot);
56 void ANIM_OT_keyframe_delete_v3d(struct wmOperatorType *ot);
58 /* Keyframe managment operators for UI buttons (RMB menu). */
59 void ANIM_OT_keyframe_insert_button(struct wmOperatorType *ot);
60 void ANIM_OT_keyframe_delete_button(struct wmOperatorType *ot);
64 /* KeyingSet managment operators for UI buttons (RMB menu) */
65 void ANIM_OT_keyingset_button_add(struct wmOperatorType *ot);
66 void ANIM_OT_keyingset_button_remove(struct wmOperatorType *ot);
68 /* KeyingSet management operators for RNA collections/UI buttons */
69 void ANIM_OT_keying_set_add(struct wmOperatorType *ot);
70 void ANIM_OT_keying_set_remove(struct wmOperatorType *ot);
71 void ANIM_OT_keying_set_path_add(struct wmOperatorType *ot);
72 void ANIM_OT_keying_set_path_remove(struct wmOperatorType *ot);
76 /* Driver management operators for UI buttons (RMB menu) */
77 void ANIM_OT_driver_button_add(struct wmOperatorType *ot);
78 void ANIM_OT_driver_button_remove(struct wmOperatorType *ot);
79 void ANIM_OT_copy_driver_button(struct wmOperatorType *ot);
80 void ANIM_OT_paste_driver_button(struct wmOperatorType *ot);
82 void ANIM_OT_copy_clipboard_button(struct wmOperatorType *ot);
84 #endif // ANIM_INTERN_H