Moving header to include folder

This commit is contained in:
Qiwei Ye 2016-02-04 11:03:53 +08:00
Родитель a641c2528a
Коммит a463d810a4
30 изменённых файлов: 97 добавлений и 97 удалений

Просмотреть файл

@ -71,10 +71,10 @@
</ImportGroup> </ImportGroup>
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<IncludePath>$(MSMPI_INC);$(ProjectDir)\include;$(ProjectDir)\src;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> <IncludePath>$(MSMPI_INC);$(ProjectDir)\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<IncludePath>$(MSMPI_INC);$(ProjectDir)\include;$(ProjectDir)\src;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> <IncludePath>$(MSMPI_INC);$(ProjectDir)\include;$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile> <ClCompile>
@ -143,24 +143,24 @@
</Lib> </Lib>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="include\multiverso\actor.h" />
<ClInclude Include="include\multiverso\blob.h" />
<ClInclude Include="include\multiverso\communicator.h" />
<ClInclude Include="include\multiverso\controller.h" />
<ClInclude Include="include\multiverso\message.h" />
<ClInclude Include="include\multiverso\multiverso.h" /> <ClInclude Include="include\multiverso\multiverso.h" />
<ClInclude Include="include\multiverso\net.h" />
<ClInclude Include="include\multiverso\node.h" />
<ClInclude Include="include\multiverso\server.h" />
<ClInclude Include="include\multiverso\table\array_table.h" /> <ClInclude Include="include\multiverso\table\array_table.h" />
<ClInclude Include="include\multiverso\table\kv_table.h" /> <ClInclude Include="include\multiverso\table\kv_table.h" />
<ClInclude Include="include\multiverso\table_interface.h" /> <ClInclude Include="include\multiverso\table_interface.h" />
<ClInclude Include="src\actor.h" /> <ClInclude Include="include\multiverso\worker.h" />
<ClInclude Include="src\blob.h" /> <ClInclude Include="include\multiverso\zoo.h" />
<ClInclude Include="src\communicator.h" />
<ClInclude Include="src\controller.h" />
<ClInclude Include="src\message.h" />
<ClInclude Include="src\net.h" />
<ClInclude Include="src\node.h" />
<ClInclude Include="src\server.h" />
<ClInclude Include="src\util\double_buffer.h" /> <ClInclude Include="src\util\double_buffer.h" />
<ClInclude Include="src\util\log.h" /> <ClInclude Include="src\util\log.h" />
<ClInclude Include="src\util\mt_queue.h" /> <ClInclude Include="src\util\mt_queue.h" />
<ClInclude Include="src\util\waiter.h" /> <ClInclude Include="src\util\waiter.h" />
<ClInclude Include="src\worker.h" />
<ClInclude Include="src\zoo.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="src\actor.cpp" /> <ClCompile Include="src\actor.cpp" />

Просмотреть файл

@ -1,33 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup> <ItemGroup>
<ClInclude Include="src\actor.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="src\blob.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="src\communicator.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="src\controller.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="src\message.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="src\net.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="src\server.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="src\worker.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="src\zoo.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="src\util\double_buffer.h"> <ClInclude Include="src\util\double_buffer.h">
<Filter>util</Filter> <Filter>util</Filter>
</ClInclude> </ClInclude>
@ -52,7 +25,34 @@
<ClInclude Include="include\multiverso\table\kv_table.h"> <ClInclude Include="include\multiverso\table\kv_table.h">
<Filter>include\table</Filter> <Filter>include\table</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="src\node.h"> <ClInclude Include="include\multiverso\actor.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="include\multiverso\blob.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="include\multiverso\communicator.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="include\multiverso\controller.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="include\multiverso\message.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="include\multiverso\net.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="include\multiverso\node.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="include\multiverso\server.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="include\multiverso\worker.h">
<Filter>system</Filter>
</ClInclude>
<ClInclude Include="include\multiverso\zoo.h">
<Filter>system</Filter> <Filter>system</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>

Просмотреть файл

@ -1,11 +1,11 @@
#include <iostream> #include <iostream>
#include <multiverso/multiverso.h> #include <multiverso/multiverso.h>
#include <util/log.h> #include <multiverso/util/log.h>
#include <multiverso/table/array_table.h> #include <multiverso/table/array_table.h>
#include <multiverso/table/kv_table.h> #include <multiverso/table/kv_table.h>
#include <net.h> #include <multiverso/net.h>
using namespace multiverso; using namespace multiverso;

Просмотреть файл

@ -7,7 +7,7 @@
#include <thread> #include <thread>
#include <unordered_map> #include <unordered_map>
#include "message.h" #include "multiverso/message.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -4,7 +4,7 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include "util/log.h" #include "multiverso/util/log.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,8 +1,8 @@
#ifndef MULTIVERSO_COMMUNICATION_H_ #ifndef MULTIVERSO_COMMUNICATION_H_
#define MULTIVERSO_COMMUNICATION_H_ #define MULTIVERSO_COMMUNICATION_H_
#include "actor.h" #include "multiverso/actor.h"
#include "message.h" #include "multiverso/message.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,8 +1,8 @@
#ifndef MULTIVERSO_CONTROLLER_H_ #ifndef MULTIVERSO_CONTROLLER_H_
#define MULTIVERSO_CONTROLLER_H_ #define MULTIVERSO_CONTROLLER_H_
#include "actor.h" #include "multiverso/actor.h"
#include "message.h" #include "multiverso/message.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -6,8 +6,8 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "blob.h" #include "multiverso/blob.h"
#include "util/log.h" #include "multiverso/util/log.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -3,7 +3,7 @@
#include <string> #include <string>
#include "message.h" #include "multiverso/message.h"
namespace multiverso { namespace multiverso {
// Interface of inter process communication method // Interface of inter process communication method

Просмотреть файл

Просмотреть файл

@ -1,7 +1,7 @@
#ifndef MULTIVERSO_SERVER_H_ #ifndef MULTIVERSO_SERVER_H_
#define MULTIVERSO_SERVER_H_ #define MULTIVERSO_SERVER_H_
#include "actor.h" #include "multiverso/actor.h"
#include <vector> #include <vector>
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -2,8 +2,8 @@
#define MULTIVERSO_KV_TABLE_H_ #define MULTIVERSO_KV_TABLE_H_
#include "multiverso/table_interface.h" #include "multiverso/table_interface.h"
#include "util/log.h" #include "multiverso/util/log.h"
#include "zoo.h" #include "multiverso/zoo.h"
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>

Просмотреть файл

@ -5,10 +5,10 @@
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include "blob.h" #include "multiverso/blob.h"
#include "util/log.h" #include "multiverso/util/log.h"
#include "util/waiter.h" #include "multiverso/util/waiter.h"
#include "message.h" #include "multiverso/message.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл

@ -1,7 +1,7 @@
#ifndef MULTIVERSO_WORKER_H_ #ifndef MULTIVERSO_WORKER_H_
#define MULTIVERSO_WORKER_H_ #define MULTIVERSO_WORKER_H_
#include "actor.h" #include "multiverso/actor.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -5,8 +5,8 @@
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include "actor.h" #include "multiverso/actor.h"
#include "node.h" #include "multiverso/node.h"
#include "multiverso/table_interface.h" #include "multiverso/table_interface.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,8 +1,8 @@
#include "actor.h" #include "multiverso/actor.h"
#include "message.h" #include "multiverso/message.h"
#include "util/mt_queue.h" #include "multiverso/util/mt_queue.h"
#include "zoo.h" #include "multiverso/zoo.h"
#include "util/log.h" #include "multiverso/util/log.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,7 +1,7 @@
#include "communicator.h" #include "multiverso/communicator.h"
#include "zoo.h" #include "multiverso/zoo.h"
#include "net.h" #include "multiverso/net.h"
#include "util/log.h" #include "multiverso/util/log.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,8 +1,8 @@
#include "controller.h" #include "multiverso/controller.h"
#include "message.h" #include "multiverso/message.h"
#include "node.h" #include "multiverso/node.h"
#include "zoo.h" #include "multiverso/zoo.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,6 +1,6 @@
#include "multiverso/multiverso.h" #include "multiverso/multiverso.h"
#include "zoo.h" #include "multiverso/zoo.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,7 +1,7 @@
#include "net.h" #include "multiverso/net.h"
#include "util/log.h" #include "multiverso/util/log.h"
#include "message.h" #include "multiverso/message.h"
// TODO(feiga) remove this // TODO(feiga) remove this
#define MULTIVERSO_USE_MPI #define MULTIVERSO_USE_MPI

Просмотреть файл

@ -1,4 +1,4 @@
#include "node.h" #include "multiverso/node.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,8 +1,8 @@
#include "server.h" #include "multiverso/server.h"
#include "actor.h" #include "multiverso/actor.h"
#include "multiverso/table_interface.h" #include "multiverso/table_interface.h"
#include "zoo.h" #include "multiverso/zoo.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,5 +1,5 @@
#include "multiverso/table_interface.h" #include "multiverso/table_interface.h"
#include "zoo.h" #include "multiverso/zoo.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,7 +1,7 @@
#include <ctime> #include <ctime>
#include <cstdarg> #include <cstdarg>
#include "log.h" #include "multiverso/util/log.h"
namespace multiverso namespace multiverso
{ {

Просмотреть файл

@ -1,6 +1,6 @@
#include "worker.h" #include "multiverso/worker.h"
#include "util/mt_queue.h" #include "multiverso/util/mt_queue.h"
#include "zoo.h" #include "multiverso/zoo.h"
namespace multiverso { namespace multiverso {

Просмотреть файл

@ -1,13 +1,13 @@
#include "communicator.h" #include "multiverso/communicator.h"
#include "zoo.h" #include "multiverso/zoo.h"
#include "message.h" #include "multiverso/message.h"
#include "actor.h" #include "multiverso/actor.h"
#include "util/mt_queue.h" #include "multiverso/util/mt_queue.h"
#include "net.h" #include "multiverso/net.h"
#include "util/log.h" #include "multiverso/util/log.h"
#include "worker.h" #include "multiverso/worker.h"
#include "server.h" #include "multiverso/server.h"
#include "controller.h" #include "multiverso/controller.h"
namespace multiverso { namespace multiverso {