diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-15 02:33:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-15 02:33:18 +0300 |
commit | 677386e53a079a10e0c965759156f298471409ca (patch) | |
tree | b59341b10978e1d28a5a07e1af96f165d265e7d9 /source/blender/makesdna/DNA_userdef_types.h | |
parent | 9b3ac70b6d4b074d722b2b3fe49c99d04f83da01 (diff) |
initial support for extensions in the user preferences
only one script at the moment:
[#20848] Blender Gears for 2.5 (for ideasman42)
from Michel Anders (varkenvarken)
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 1ac5b4f6902..5bcb7b20104 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -274,6 +274,12 @@ typedef struct bTheme { } bTheme; +/* for the moment only the name. may want to store options with this later */ +typedef struct bExtension { + struct bExtension *next, *prev; + char module[64]; +} bExtension; + typedef struct SolidLight { int flag, pad; float col[4], spec[4], vec[4]; @@ -320,6 +326,7 @@ typedef struct UserDef { struct ListBase uifonts; struct ListBase uistyles; struct ListBase keymaps; + struct ListBase extensions; char keyconfigstr[64]; short undosteps; @@ -370,6 +377,7 @@ extern UserDef U; /* from blenkernel blender.c */ #define USER_SECTION_SYSTEM 3 #define USER_SECTION_THEME 4 #define USER_SECTION_INPUT 5 +#define USER_SECTION_EXTENSIONS 6 /* flag */ #define USER_AUTOSAVE (1 << 0) |