source: trunk/src/halTypes.hpp @ 503

Revision 503, 941 bytes checked in by Eoin, 11 years ago (diff)

Cleaned up trunk alert handler code.

Line 
1
2//         Copyright Eóin O'Callaghan 2006 - 2008.
3// Distributed under the Boost Software License, Version 1.0.
4//    (See accompanying file LICENSE_1_0.txt or copy at
5//          http://www.boost.org/LICENSE_1_0.txt)
6
7#pragma once
8
9#include <boost/thread/thread.hpp>
10#include <boost/tuple/tuple.hpp>
11#include <boost/thread/recursive_mutex.hpp>
12#include <boost/date_time/posix_time/posix_time.hpp>
13
14namespace hal
15{       
16        namespace fs = boost::filesystem;
17        namespace pt = boost::posix_time;
18        namespace xp = boost::xpressive;
19
20        using std::wstring;
21        using std::string;
22
23        using std::pair;
24        using std::make_pair;   
25
26        typedef boost::int64_t size_type;
27        typedef boost::recursive_mutex mutex_t;
28        typedef boost::thread thread_t;
29
30        using boost::tuple;
31        using boost::shared_ptr;
32        using boost::bind;
33
34        using boost::wformat;
35        using boost::format;
36
37        using fs::wpath;
38        using fs::path;
39}
40
41#define foreach BOOST_FOREACH
Note: See TracBrowser for help on using the repository browser.