Skip to content

Commit

Permalink
Remove dependency on shared
Browse files Browse the repository at this point in the history
Signed-off-by: jiajia_deng <[email protected]>
  • Loading branch information
nmgwddj committed Sep 20, 2019
1 parent 57f53ae commit 4933d1f
Show file tree
Hide file tree
Showing 430 changed files with 1,954 additions and 6,128 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ NIM Duilib 包含了一整套桌面软件的开发部件,与其说这是一个
git clone https://github.com/netease-im/NIM_Duilib_Framework
```

进入 `NIM_Duilib_Framework/samples` 目录,使用 Visual Studio 2013 Update 5 以上版本 IDE 打开 `samples.sln`,按下 F7 即可编译所有示例程序
进入 `NIM_Duilib_Framework/examples` 目录,使用 Visual Studio 2013 Update 5 以上版本 IDE 打开 `examples.sln`,按下 F7 即可编译所有示例程序

## 文档

Expand All @@ -38,19 +38,17 @@ git clone https://github.com/netease-im/NIM_Duilib_Framework

## 目录

├─`base` 基础类库
├─`bin` 各个示例程序输出目录,包含预设的皮肤和语言文件以及 CEF 依赖
├─`docs` duilib 接口的说明文档
├─`duilib` duilib 核心代码,依赖 base 但不依赖 shared
├─`libs` 静态库编译后的输出目录,包含预设的一些 CEF 组件静态库
├─`samples` 各类示例程序
├─`examples` 各类示例程序源代码
├─`third_party` 第三方库,目前仅有 cef_control 有依赖
├─`toolkits`
│ ├─`base` 基础类库
│ ├─`duilib` duilib 核心代码,依赖 base 但不依赖 shared
│ ├─`shared` 包含一些工具的封装,如命令行解析、日志、路径处理等
│ ├─`ui_components` 基于 duilib 封装的常用组件库如 `msgbox``toast``cef_control`
├─`ui_components` 基于 duilib 封装的常用组件库如 `msgbox``toast``cef_control`

## 交流

- 遇到问题:欢迎查看我们整理过的[中文文档](docs/SUMMARY.md)参考[示例程序](samples/README.md)来帮助你解决疑惑
- 遇到问题:欢迎查看我们整理过的[中文文档](docs/SUMMARY.md)参考[示例程序](examples/README.md)来帮助你解决疑惑
- 提交缺陷:在确保使用最新版本依然存在问题时请尽量以简洁的语言描述清楚复现该问题的步骤并提交 issue
- 功能建议:如果你有什么好的想法或者提案,欢迎提交 issue 与我们交流
16 changes: 7 additions & 9 deletions README_en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Clone the repo into your disk.
git clone https://github.com/netease-im/NIM_Duilib_Framework
```

Enter the `NIM_Duilib_Framework/samples` directory,Open `samples.sln` with Visual Studio 2013 Update 5 or higher ,press `F7` to compile all projects.
Enter the `NIM_Duilib_Framework/examples` directory,Open `examples.sln` with Visual Studio 2013 Update 5 or higher ,press `F7` to compile all projects.

## Documentation

Expand All @@ -38,19 +38,17 @@ Enter the `NIM_Duilib_Framework/samples` directory,Open `samples.sln` with Vis

## Structure

├─`bin` Samples output directories,include skin and language files and CEF dependencies.
├─`base` Base libraries.
├─`bin` Examples output directories,include skin and language files and CEF dependencies.
├─`docs` Documentation of Duilib.
├─`duilib` Duilib core, depend on base project.
├─`libs` Static library output directories, include CEF static library.
├─`samples` Samples of Duilib.
├─`examples` Examples of Duilib.
├─`third_party` Third party for CEF.
├─`toolkits`
│ ├─`base` Base libraries.
│ ├─`duilib` Duilib core, depend on base project.
│ ├─`shared` Utils, such as logs/string/path utils.
│ ├─`ui_components` UI components based on Duilib, such as `msgbox`,`toast`,`cef_control`
├─`ui_components` UI components based on Duilib, such as `msgbox`,`toast`,`cef_control`

## Communication

- Question: Read the [Documentation](docs/SUMMARY.md) and [Samples code](samples/README.md) to help you.
- Question: Read the [Documentation](docs/SUMMARY.md) and [Examples code](examples/README.md) to help you.
- Report: File a bug in GitHub issues.
- Suggestion: Request a new feature in Github issues.
File renamed without changes.
16 changes: 8 additions & 8 deletions tool_kits/base/base.vcxproj → base/base.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -175,28 +175,28 @@
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>..\..\libs\</OutDir>
<OutDir>$(ProjectDir)..\libs\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IntDir>$(ProjectDir)..\..\tmp\$(PlatformName)\$(ProjectName)\$(Configuration)\</IntDir>
<IntDir>$(ProjectDir)..\tmp\$(PlatformName)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>$(ProjectName)_d</TargetName>
<OutDir>..\..\libs\x64\</OutDir>
<IntDir>$(ProjectDir)..\..\tmp\$(PlatformName)\$(ProjectName)\$(Configuration)\</IntDir>
<OutDir>$(ProjectDir)..\libs\x64\</OutDir>
<IntDir>$(ProjectDir)..\tmp\$(PlatformName)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>..\..\libs\</OutDir>
<OutDir>$(ProjectDir)..\libs\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IntDir>$(ProjectDir)..\..\tmp\$(PlatformName)\$(ProjectName)\$(Configuration)\</IntDir>
<IntDir>$(ProjectDir)..\tmp\$(PlatformName)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>..\..\libs\x64\</OutDir>
<IntDir>$(ProjectDir)..\..\tmp\$(PlatformName)\$(ProjectName)\$(Configuration)\</IntDir>
<OutDir>$(ProjectDir)..\libs\x64\</OutDir>
<IntDir>$(ProjectDir)..\tmp\$(PlatformName)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
#include "base/thread/framework_thread.h"
#include "base/memory/singleton.h"

/**
* 一些预定义的线程 ID 值,提供开发者使用
*/
enum ThreadIds
{
kThreadMain,
kThreadDatabase,
kThreadGlobalMisc,
};

namespace nbase
{
class MessageLoop;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file modified docs/PREVIEW.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 4933d1f

Please sign in to comment.