Cleanup: move operators & related code of files & append/link to relevant dedicated...
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 19 Apr 2016 15:08:31 +0000 (17:08 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 19 Apr 2016 20:53:18 +0000 (22:53 +0200)
commit52e09ed4f93b21aee8643de2f8b53e9fa7c99543
treea711758277e06071c69abd1c92f24fa540269cd3
parentdd423a6818cc8132ba073dfbeb66cb40d3f09611
Cleanup: move operators & related code of files & append/link to relevant dedicated source files.

This commit adds a new `wm_files_link.c` which contains everything related to append/link code,
moved from `wm_operators.c` (rather small currently, but will expand quite a bit with future reload & asset works).

It also moves all load/save .bland files (and related userpref/startup stuff) from `wm_operators.c`
to `wm_files.c` (some helper funcs were already there).

This also makes `wm_operators.c` significantly lighter.
source/blender/windowmanager/CMakeLists.txt
source/blender/windowmanager/intern/wm_files.c
source/blender/windowmanager/intern/wm_files_link.c [new file with mode: 0644]
source/blender/windowmanager/intern/wm_operators.c
source/blender/windowmanager/wm_files.h