== PoseLib - Overhauled Implementation ==
[blender.git] / source / blender / include / BIF_poselib.h
index 39997930569c2955a7ed3c3332727aa26eaaf27b..209c386d2d60a7009cf617fc67d8a8b7ecd82b4c 100644 (file)
 
 struct Object;
 struct bAction;
-struct bPoseLib;
-struct bPoseLibRef;
+struct TimeMarker;
 
-char *poselib_build_poses_menu(struct bPoseLib *pl, char title[]);
-void poselib_unique_pose_name(struct bPoseLib *pl, char name[]);
-int poselib_get_free_index(struct bPoseLib *pl);
+char *poselib_build_poses_menu(struct bAction *act, char title[]);
+int poselib_get_free_index(struct bAction *act);
+struct TimeMarker *poselib_get_active_pose(struct bAction *act);
 
-struct bPoseLib *poselib_init_new(struct Object *ob);
-struct bPoseLib *poselib_validate(struct Object *ob);
+struct bAction *poselib_init_new(struct Object *ob);
+struct bAction *poselib_validate(struct Object *ob);
 
 void poselib_validate_act(struct bAction *act);
 
-void poselib_remove_pose(struct Object *ob, struct bPoseLibRef *plr);
+void poselib_remove_pose(struct Object *ob, struct TimeMarker *marker);
 void poselib_rename_pose(struct Object *ob);
 void poselib_add_current_pose(struct Object *ob, int mode);