YSTest: Shells.h 源文件

YSTest PreAlpha_b400_20130424 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

全部 类 命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 组 页
Shells.h
浏览该文件的文档.
1 ﻿/*
2 Copyright by FrankHB 2010 - 2013.
3
4 This file is part of the YSLib project, and may only be used,
5 modified, and distributed under the terms of the YSLib project
6 license, LICENSE.TXT. By continuing to use, modify, or distribute
7 this file you indicate that you have read the license and
8 understand and accept it fully.
9 */
10
32 #ifndef INC_YReader_Shells_h_
33 #define INC_YReader_Shells_h_ 1
34
35 #include <Helper/shlds.h>
36 #include <Helper/ShellHelper.h>
37 #include <YCLib/Debug.h>
38
39 YSL_BEGIN
40
41 typedef decltype(__LINE__) ResourceIndex;
42 typedef map<ResourceIndex, ValueObject> ResourceMap;
43
44 #define DeclResource(_name) const ResourceIndex _name(__LINE__);
45
46 YSL_END
47
48
49 YSL_BEGIN_NAMESPACE(YReader)
50
51 #define G_COMP_NAME u"Franksoft"
52 #define G_APP_NAME u"YReader"
53 #define G_APP_VER u"Build PreAlpha"
54
55 using namespace YSLib;
56
57 using namespace UI;
58 using namespace Drawing;
59
60 using namespace DS;
61 using namespace DS::UI;
62
63 using platform::WaitForInput;
64 using platform::YDebugSetStatus;
65
66
71 void
72 Cleanup();
73
74 shared_ptr<Image>&
75 FetchImage(size_t);
76
78 double
79 FetchImageLoadTime();
80
81 YSL_END_NAMESPACE(YReader)
82
83 #endif
84