├── .gitignore ├── LICENSE ├── README.md ├── inc ├── SelfModule.h └── TypeSelect.h ├── src └── SelfModule.cpp └── test ├── Modular.cpp ├── Modular.h ├── ModuleA.cpp ├── ModuleB.cpp ├── ModuleC.cpp ├── ModuleD.cpp ├── ModuleE.cpp ├── ModuleF.cpp ├── VS2010 ├── Modular.sln ├── Modular.vcxproj ├── Modular.vcxproj.filters └── Modular.vcxproj.user └── VS2015 ├── Modular.sln ├── Modular.vcxproj ├── Modular.vcxproj.filters └── Modular.vcxproj.user /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | *.obj 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Compiled Dynamic libraries 12 | *.so 13 | *.dylib 14 | *.dll 15 | 16 | # Fortran module files 17 | *.mod 18 | 19 | # Compiled Static libraries 20 | *.lai 21 | *.la 22 | *.a 23 | *.lib 24 | 25 | # Executables 26 | *.exe 27 | *.out 28 | *.app 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 梁欢 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Modular 2 | 3 | 我在实际工作中发现很多类和模块是非常独立和相似的:它们一般都需要有初始化和反初始化的过程。一般做法是在程序初始化的位置对这些类和模块进行集中配置。比如程序中有ModuleA、ModuleE、ModuleF这三个模块,而且这三个模块之间有依赖顺序ModuleEInits(); 73 | 74 | SelfModuleList::GetInstance()->Uninits(); 75 | -------------------------------------------------------------------------------- /inc/SelfModule.h: -------------------------------------------------------------------------------- 1 | #ifndef Self_Module_H 2 | #define Self_Module_H 3 | 4 | #include 5 | #include 6 | #include 7 | using namespace std; 8 | 9 | /** 10 | * 定义标准字符串类 11 | */ 12 | #ifndef STD_STRING_TYPE 13 | #define STD_STRING_TYPE 14 | typedef std::string StdString; 15 | #endif 16 | 17 | /** 18 | * 定义初始化及反初始化函数类型 19 | */ 20 | #ifndef SELF_FUCTION_TYPE 21 | #define SELF_FUCTION_TYPE 22 | typedef function SelfFunction; 23 | #endif 24 | 25 | /** 26 | * 定义模块类型 27 | */ 28 | struct SelfModule 29 | { 30 | /** 31 | * 模块的ID 32 | */ 33 | StdString _id; 34 | 35 | /** 36 | * 模块的依赖,不同的依赖项之间用';'分割 37 | */ 38 | StdString _dep; 39 | 40 | /** 41 | * 初始化函数 42 | */ 43 | SelfFunction _init; 44 | 45 | /** 46 | * 反初始化函数 47 | */ 48 | SelfFunction _uninit; 49 | 50 | /** 51 | * 构造函数 52 | */ 53 | SelfModule(StdString id) 54 | : _id(id) 55 | {} 56 | }; 57 | 58 | /** 59 | * 声明模块的定义 60 | */ 61 | class DefModule 62 | { 63 | public: 64 | 65 | /* 66 | * 构造函数 67 | * 68 | * @Param id 69 | * 模块的ID 70 | * @Param depends 71 | * 模块的依赖 72 | * @Param constructor 73 | * 模块的构造函数 74 | * @Param initializer 75 | * 模块的初始化函数 76 | * @Param uninitializer 77 | * 模块的反初始化函数 78 | * @Param destructor 79 | * 模块的析构函数 80 | */ 81 | DefModule(StdString id 82 | , StdString depends 83 | , SelfFunction constructor 84 | , SelfFunction initializer 85 | , SelfFunction uninitializer 86 | , SelfFunction destructor); 87 | 88 | /* 89 | * 构造函数 90 | * 91 | * @Param id 92 | * 模块的ID 93 | * @Param depends 94 | * 模块的依赖 95 | * @Param initializer 96 | * 模块的初始化函数 97 | * @Param uninitializer 98 | * 模块的反初始化函数 99 | */ 100 | DefModule(StdString id 101 | , StdString depends 102 | , SelfFunction initializer 103 | , SelfFunction uninitializer); 104 | 105 | /** 106 | * 析构函数 107 | */ 108 | ~DefModule(); 109 | 110 | protected: 111 | /** 112 | * 析构函数 113 | */ 114 | SelfFunction _destructor; 115 | }; 116 | 117 | /** 118 | * 列表索引类型 119 | */ 120 | typedef vector::iterator ModuleWhere; 121 | 122 | /** 123 | * 模块列表 124 | */ 125 | class SelfModuleList 126 | { 127 | public: 128 | 129 | /** 130 | * 获取唯一实例 131 | * 132 | * @Return 返回全局唯一的实例 133 | */ 134 | static SelfModuleList* GetInstance() 135 | { 136 | if (_instance != NULL) 137 | { 138 | return _instance; 139 | } 140 | 141 | if (_instance == NULL) 142 | { 143 | _instance = new SelfModuleList(); 144 | } 145 | 146 | return _instance; 147 | } 148 | 149 | /** 150 | * 删除唯一实例 151 | */ 152 | static void DelInstance() 153 | { 154 | if (_instance != NULL) 155 | { 156 | delete _instance; 157 | _instance = NULL; 158 | } 159 | } 160 | 161 | public: 162 | 163 | /** 164 | * 初始化函数 165 | */ 166 | void Inits() 167 | { 168 | for (auto iter = _list.begin(); iter != _list.end(); iter++) 169 | { 170 | (*iter)._init(); 171 | } 172 | } 173 | 174 | /** 175 | * 反初始化函数 176 | */ 177 | void Uninits() 178 | { 179 | for (auto iter = _list.rbegin(); iter != _list.rend(); iter++) 180 | { 181 | (*iter)._uninit(); 182 | } 183 | } 184 | 185 | /** 186 | * 查找模块 187 | * 188 | * @Param id 189 | * 待查找的模块的ID 190 | * @Return 返回查找到的模块位置 191 | */ 192 | ModuleWhere Find(StdString id) 193 | { 194 | ModuleWhere iter = _list.begin(); 195 | 196 | for (; iter != _list.end(); iter++) 197 | { 198 | if ((*iter)._id.compare(id) == 0) 199 | { 200 | break; 201 | } 202 | } 203 | 204 | return iter; 205 | } 206 | 207 | /** 208 | * 插入模块到指定位置 209 | * 210 | * @Param where 211 | * 插入位置 212 | * @Param module 213 | * 模块对象 214 | * @return 返回插入位置 215 | */ 216 | ModuleWhere Insert(ModuleWhere where, SelfModule module) 217 | { 218 | return _list.insert(where, module); 219 | } 220 | 221 | /* 222 | * 获取模块列表开始位置 223 | * 224 | * @return 返回列表开始位置 225 | */ 226 | ModuleWhere Begin() 227 | { 228 | return _list.begin(); 229 | } 230 | 231 | /** 232 | * 模块位置是否为列表尾端 233 | * 234 | * @Param where 235 | * 查找位置 236 | * @return 如果是列表尾端返回true,否则返回false。 237 | */ 238 | bool End(ModuleWhere where) 239 | { 240 | return where == _list.end(); 241 | } 242 | 243 | protected: 244 | /** 245 | * 模块列表 246 | */ 247 | vector _list; 248 | 249 | protected: 250 | SelfModuleList(void) {} 251 | ~SelfModuleList(void) {} 252 | 253 | private: 254 | /** 255 | * 全局唯一的实例 256 | */ 257 | static SelfModuleList* _instance; 258 | }; 259 | 260 | #endif /* Self_Module_H */ -------------------------------------------------------------------------------- /inc/TypeSelect.h: -------------------------------------------------------------------------------- 1 | #ifndef Type_Select_H 2 | #define Type_Select_H 3 | 4 | /** 5 | * 定义匿名函数的名称 6 | */ 7 | #define $(NAME) 8 | 9 | /** 10 | * $,定义类型选择器 11 | */ 12 | template struct $ { 13 | 14 | /** 15 | * 基本类型 16 | */ 17 | typedef _T Type; 18 | 19 | /** 20 | * 指针类型 21 | */ 22 | typedef _T *Ptr; 23 | 24 | /** 25 | * 引用类型 26 | */ 27 | typedef _T &Ref; 28 | }; 29 | 30 | /** 31 | * 定义Lambda函数类型 32 | */ 33 | #define Lambda auto& 34 | 35 | #endif /* Type_Select_H */ -------------------------------------------------------------------------------- /src/SelfModule.cpp: -------------------------------------------------------------------------------- 1 | #include "SelfModule.h" 2 | #include "TypeSelect.h" 3 | 4 | /** 5 | * 定义当前模块 6 | */ 7 | static DefModule _Module("SelfModuleList" 8 | , "" 9 | , []$(Constructor)(){ 10 | } 11 | , []$(Initializer)(){ 12 | } 13 | , []$(Uninitializer)(){ 14 | } 15 | , []$(Destructor)(){ 16 | SelfModuleList::DelInstance(); 17 | }); 18 | 19 | /** 20 | * DefModule 21 | */ 22 | DefModule::DefModule(StdString id 23 | , StdString depends 24 | , SelfFunction constructor 25 | , SelfFunction initializer 26 | , SelfFunction uninitializer 27 | , SelfFunction destructor) 28 | : _destructor(destructor) 29 | { 30 | SelfModuleList* list = SelfModuleList::GetInstance(); 31 | 32 | if(id.compare("SelfModuleList") == 0){ 33 | return; 34 | } 35 | 36 | ModuleWhere insPos = list->Begin(); 37 | 38 | size_t offset = 0; 39 | size_t lastset = offset; 40 | while ((offset = depends.find(';', lastset)) != -1) 41 | { 42 | auto dep = depends.substr(lastset, offset - lastset); 43 | 44 | auto where = list->Find(dep); 45 | if (insPos - where <= 0) { 46 | 47 | if (!list->End(where)) { 48 | insPos = where + 1; 49 | } else { 50 | insPos = where; 51 | } 52 | } 53 | 54 | lastset = offset + 1; 55 | } 56 | 57 | SelfModule module(id); 58 | module._dep = depends; 59 | module._init = initializer; 60 | module._uninit = uninitializer; 61 | list->Insert(insPos, module); 62 | 63 | constructor(); 64 | } 65 | 66 | DefModule::DefModule(StdString id 67 | , StdString depends 68 | , SelfFunction initializer 69 | , SelfFunction uninitializer) 70 | #if _MSC_VER >= 1900 71 | : DefModule(id, depends, []() {}, initializer, uninitializer, []() {}) 72 | #endif 73 | { 74 | #if _MSC_VER < 1900 75 | DefModule(id, depends, [](){}, initializer, uninitializer, [](){}); 76 | #endif 77 | } 78 | 79 | DefModule::~DefModule() 80 | { 81 | #if _MSC_VER >= 1900 82 | (_destructor.target() != nullptr) ? int(5) : _destructor(); 83 | #else 84 | _destructor._Empty() ? int(5) : _destructor(); 85 | #endif 86 | } 87 | 88 | /** 89 | * 全局唯一的实例 90 | */ 91 | SelfModuleList* SelfModuleList::_instance = NULL; -------------------------------------------------------------------------------- /test/Modular.cpp: -------------------------------------------------------------------------------- 1 | #include "SelfModule.h" 2 | 3 | int main(int argc, char* argv[]) 4 | { 5 | printf("\n"); 6 | 7 | SelfModuleList::GetInstance()->Inits(); 8 | 9 | printf("\n"); 10 | 11 | // 如果我们不指定模块间的依赖顺序,那么 12 | // 初始化顺序也许是CDAEFB,也许是其他; 13 | 14 | // 如果限制一些初始化顺序如EUninits(); 18 | 19 | printf("\n"); 20 | 21 | return 0; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /test/Modular.h: -------------------------------------------------------------------------------- 1 | #ifndef Modular_H 2 | #define Modular_H 3 | 4 | #define Mod_Config 5 | 6 | #endif /* Modular_H */ -------------------------------------------------------------------------------- /test/ModuleA.cpp: -------------------------------------------------------------------------------- 1 | #include "SelfModule.h" 2 | #include "TypeSelect.h" 3 | #include "Modular.h" 4 | 5 | /** 6 | * 定义当前模块 7 | */ 8 | static DefModule _Module("ModuleA" 9 | ,"" 10 | , []$(Initializer)(){ 11 | printf("ModuleA::Initializer()\n"); 12 | } 13 | , []$(Uninitializer)(){ 14 | printf("ModuleA::Uninitializer()\n"); 15 | }); -------------------------------------------------------------------------------- /test/ModuleB.cpp: -------------------------------------------------------------------------------- 1 | #include "SelfModule.h" 2 | #include "TypeSelect.h" 3 | #include "Modular.h" 4 | 5 | /** 6 | * 定义当前模块 7 | */ 8 | static DefModule _Module("ModuleB" 9 | #ifdef Mod_Config 10 | , "ModuleD;" 11 | #else 12 | ,"" 13 | #endif 14 | , []$(Constructor)(){ 15 | printf("ModuleB::Constructor()\n"); 16 | } 17 | , []$(Initializer)(){ 18 | printf("ModuleB::Initializer()\n"); 19 | } 20 | , []$(Uninitializer)(){ 21 | printf("ModuleB::Uninitializer()\n"); 22 | } 23 | , []$(Destructor)(){ 24 | printf("ModuleB::Destructor()\n"); 25 | }); -------------------------------------------------------------------------------- /test/ModuleC.cpp: -------------------------------------------------------------------------------- 1 | #include "SelfModule.h" 2 | #include "TypeSelect.h" 3 | #include "Modular.h" 4 | 5 | /** 6 | * 定义当前模块 7 | */ 8 | static DefModule _Module("ModuleC" 9 | ,"" 10 | , []$(Constructor)(){ 11 | printf("ModuleC::Constructor()\n"); 12 | } 13 | , []$(Initializer)(){ 14 | printf("ModuleC::Initializer()\n"); 15 | } 16 | , []$(Uninitializer)(){ 17 | printf("ModuleC::Uninitializer()\n"); 18 | } 19 | , []$(Destructor)(){ 20 | printf("ModuleC::Destructor()\n"); 21 | }); -------------------------------------------------------------------------------- /test/ModuleD.cpp: -------------------------------------------------------------------------------- 1 | #include "SelfModule.h" 2 | #include "TypeSelect.h" 3 | #include "Modular.h" 4 | 5 | /** 6 | * 定义当前模块 7 | */ 8 | static DefModule _Module("ModuleD" 9 | #ifdef Mod_Config 10 | , "ModuleC;" 11 | #else 12 | ,"" 13 | #endif 14 | , []$(Constructor)(){ 15 | printf("ModuleD::Constructor()\n"); 16 | } 17 | , []$(Initializer)(){ 18 | printf("ModuleD::Initializer()\n"); 19 | } 20 | , []$(Uninitializer)(){ 21 | printf("ModuleD::Uninitializer()\n"); 22 | } 23 | , []$(Destructor)(){ 24 | printf("ModuleD::Destructor()\n"); 25 | }); -------------------------------------------------------------------------------- /test/ModuleE.cpp: -------------------------------------------------------------------------------- 1 | #include "SelfModule.h" 2 | #include "TypeSelect.h" 3 | #include "Modular.h" 4 | 5 | /** 6 | * 定义当前模块 7 | */ 8 | static DefModule _Module("ModuleE" 9 | #ifdef Mod_Config 10 | , "ModuleF;" 11 | #else 12 | ,"" 13 | #endif 14 | , []$(Initializer)(){ 15 | printf("ModuleE::Initializer()\n"); 16 | } 17 | , []$(Uninitializer)(){ 18 | printf("ModuleE::Uninitializer()\n"); 19 | }); -------------------------------------------------------------------------------- /test/ModuleF.cpp: -------------------------------------------------------------------------------- 1 | #include "SelfModule.h" 2 | #include "TypeSelect.h" 3 | #include "Modular.h" 4 | 5 | /** 6 | * 定义当前模块 7 | */ 8 | static DefModule _Module("ModuleF" 9 | #ifdef Mod_Config 10 | , "ModuleA;" 11 | #else 12 | ,"" 13 | #endif 14 | , []$(Initializer)(){ 15 | printf("ModuleF::Initializer()\n"); 16 | } 17 | , []$(Uninitializer)(){ 18 | printf("ModuleF::Uninitializer()\n"); 19 | }); -------------------------------------------------------------------------------- /test/VS2010/Modular.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Modular", "Modular.vcxproj", "{E8966D39-96D7-422B-B001-C60FADE1FAC6}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {E8966D39-96D7-422B-B001-C60FADE1FAC6}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {E8966D39-96D7-422B-B001-C60FADE1FAC6}.Debug|Win32.Build.0 = Debug|Win32 14 | {E8966D39-96D7-422B-B001-C60FADE1FAC6}.Release|Win32.ActiveCfg = Release|Win32 15 | {E8966D39-96D7-422B-B001-C60FADE1FAC6}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /test/VS2010/Modular.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {E8966D39-96D7-422B-B001-C60FADE1FAC6} 15 | Win32Proj 16 | Modular 17 | 18 | 19 | 20 | Application 21 | true 22 | Unicode 23 | 24 | 25 | Application 26 | false 27 | true 28 | Unicode 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | true 42 | 43 | 44 | false 45 | 46 | 47 | 48 | NotUsing 49 | Level3 50 | Disabled 51 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 52 | ../../inc 53 | 54 | 55 | Console 56 | true 57 | 58 | 59 | 60 | 61 | Level3 62 | NotUsing 63 | MaxSpeed 64 | true 65 | true 66 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 67 | ../../inc 68 | 69 | 70 | Console 71 | true 72 | true 73 | true 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /test/VS2010/Modular.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Application 6 | 7 | 8 | Application 9 | 10 | 11 | Application 12 | 13 | 14 | Application 15 | 16 | 17 | Application 18 | 19 | 20 | Application 21 | 22 | 23 | Application 24 | 25 | 26 | Modular 27 | 28 | 29 | 30 | 31 | {7a0ae1ad-a731-4f50-a111-157a1e573631} 32 | 33 | 34 | {a94a6cdb-f729-4463-a712-1d8123dd41c7} 35 | 36 | 37 | 38 | 39 | Application 40 | 41 | 42 | Modular 43 | 44 | 45 | Modular 46 | 47 | 48 | -------------------------------------------------------------------------------- /test/VS2010/Modular.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /test/VS2015/Modular.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Modular", "Modular.vcxproj", "{E8966D39-96D7-422B-B001-C60FADE1FAC6}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {E8966D39-96D7-422B-B001-C60FADE1FAC6}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {E8966D39-96D7-422B-B001-C60FADE1FAC6}.Debug|Win32.Build.0 = Debug|Win32 14 | {E8966D39-96D7-422B-B001-C60FADE1FAC6}.Release|Win32.ActiveCfg = Release|Win32 15 | {E8966D39-96D7-422B-B001-C60FADE1FAC6}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /test/VS2015/Modular.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {E8966D39-96D7-422B-B001-C60FADE1FAC6} 15 | Win32Proj 16 | Modular 17 | 18 | 19 | 20 | Application 21 | true 22 | Unicode 23 | v140 24 | 25 | 26 | Application 27 | false 28 | true 29 | Unicode 30 | v140 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | true 44 | 45 | 46 | false 47 | 48 | 49 | 50 | NotUsing 51 | Level3 52 | Disabled 53 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 54 | ../../inc 55 | 56 | 57 | Console 58 | true 59 | 60 | 61 | 62 | 63 | Level3 64 | NotUsing 65 | MaxSpeed 66 | true 67 | true 68 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 69 | ../../inc 70 | 71 | 72 | Console 73 | true 74 | true 75 | true 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /test/VS2015/Modular.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Application 6 | 7 | 8 | Application 9 | 10 | 11 | Application 12 | 13 | 14 | Application 15 | 16 | 17 | Application 18 | 19 | 20 | Application 21 | 22 | 23 | Application 24 | 25 | 26 | Modular 27 | 28 | 29 | 30 | 31 | {7a0ae1ad-a731-4f50-a111-157a1e573631} 32 | 33 | 34 | {a94a6cdb-f729-4463-a712-1d8123dd41c7} 35 | 36 | 37 | 38 | 39 | Application 40 | 41 | 42 | Modular 43 | 44 | 45 | Modular 46 | 47 | 48 | -------------------------------------------------------------------------------- /test/VS2015/Modular.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | --------------------------------------------------------------------------------