stdafx.hpp

来自「j2me is based on j2mepolish, client & se」· HPP 代码 · 共 42 行

HPP
42
字号

//         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 + =
减小字号Ctrl + -
显示快捷键?