📄 stdafx.hpp
字号:
// Copyright E骾n O'Callaghan 2008 - 2008.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef STDAFX_HPP
#define STDAFX_HPP
#pragma once
#define _CRT_SECURE_NO_WARNINGS
#define _SCL_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_DEPRECATE
#define _SCL_SECURE_NO_DEPRECATE
#include "auxiliary/wtl_app.hpp"
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
#include <boost/thread.hpp>
#include <boost/format.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>
#include "auxiliary/string_conv.hpp"
template<class Archive>
void serialize(Archive& ar, WTL::CRect& rect, const unsigned int version)
{
using boost::serialization::make_nvp;
ar & make_nvp("top", rect.top);
ar & make_nvp("bottom", rect.bottom);
ar & make_nvp("left", rect.left);
ar & make_nvp("right", rect.right);
}
#define foreach BOOST_FOREACH
#endif // STDAFX_HPP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -