YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ycommon.h 文件参考

平台相关的公共组件无关函数与宏定义集合。 更多...

#include "Platform.h"
#include <ydef.h>
#include <ystdex/cstdio.h>
#include <cstdlib>
#include <string>
#include <cassert>
ycommon.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

namespace  platform
 默认平台命名空间。
 
namespace  platform_ex
 

宏定义

#define YAssert(exp, message)   assert(exp)
 

函数

YB_NORETURN void platform::terminate () ynothrow
 异常终止函数。
 
bool platform_ex::AllowSleep (bool)
 设置允许设备进入睡眠的标识状态。
 

详细描述

平台相关的公共组件无关函数与宏定义集合。

版本
r3418
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
早于 build 132
创建时间:
2009-11-12 22:14:28 +0800
修改时间:
2013-04-14 06:44 +0800
文本编码:
UTF-8
模块名称:
YCLib::YCommon

在文件 ycommon.h 中定义.

宏定义说明

#define YAssert (   exp,
  message 
)    assert(exp)

在文件 ycommon.h77 行定义.

参考自 YSLib::Activate(),CopyBuffer(),CopySliceFrom(),DeclResource(),Decompose(),YSL_BEGIN::Diminish(),DrawHLineSeg(),DrawVLineSeg(),DSApplication::DSApplication(),DualScreenReader::Execute(),FetchGlobalInstance(),FetchResizedBottomMargin(),FetchResizedLineN(),FetchShell(),YSLib::Devices::Screen::GetCheckedBufferPtr(),YSLib::GDependency< _tEvent, _tOwnerPointer >::GetCopyOnWritePtr(),GetDesktopDownHandle(),GUIApplication::GetFontCache(),YSLib::Text::TextFileBuffer::GetIterator(),YSLib::ValueObject::GetMutableObject(),YSLib::Text::TextFileBuffer::GetPosition(),YSLib::UI::AScrollBar::GetTrack(),YSLib::GEventPointerWrapper< _tBaseArgs >::GEventPointerWrapper(),GUIApplication::GUIApplication(),LexicalAnalyzer::HandleEscape(),YSLib::UI::MenuHost::Hide(),YSLib::IsInInterval(),YSLib::IsInOpenInterval(),YSLib::UI::Menu::IsItemEnabled(),YSLib::IO::FileList::ListItems(),DualScreenReader::Locate(),MoveToBottom(),MoveToLeft(),MoveToRight(),MoveToTop(),DualScreenReader::MoveUpForLastLine(),YSLib::Application::OnGotMessage(),YSLib::Text::TextFileBuffer::Iterator::operator*(),YSLib::Text::TextFileBuffer::Iterator::operator++(),YSLib::Text::TextFileBuffer::Iterator::operator--(),YSLib::UI::MUIContainer::operator-=(),YSLib::operator<<(),operator==(),YSLib::operator>>(),YSLib::Text::TextFileBuffer::operator[](),YSLib::Drawing::Graphics::operator[](),YSLib::UI::Renderer::Paint(),YSLib::UI::BufferedRenderer::Paint(),YSLib::UI::MUIContainer::PaintVisibleChildren(),YSLib::Drawing::PutPixel(),RectDrawArrow(),YSL_BEGIN::RectDrawButton(),YSL_BEGIN::RectDrawCheckBox(),RenderChar(),RenderCharAlpha(),YSLib::UI::GUIState::ResponseKey(),YSLib::UI::GUIState::ResponseKeyBase(),YSLib::UI::GUIState::ResponseTouch(),YSLib::UI::GUIState::ResponseTouchBase(),YSLib::RestrictInClosedInterval(),YSLib::RestrictInInterval(),YSLib::RestrictUnsigned(),DualScreenReader::ScrollByPixel(),YSLib::UI::Menu::SetItemEnabled(),YSLib::Drawing::BitmapBuffer::SetSize(),YSLib::Drawing::BitmapBufferEx::SetSize(),ShlDS::ShlDS(),YSLib::UI::MenuHost::Show(),YSLib::SwitchAddedInterval(),YSLib::SwitchInterval(),YSLib::Text::TextFileBuffer::TextFileBuffer() , 以及 YSLib::Application::~Application().