libqi  1.14
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
qi.hpp
1 /*
2  * Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the COPYING file.
5  */
6 
7 #ifndef LIBQI_QI_HPP_
8 # define LIBQI_QI_HPP_
9 
10 #include <qi/config.hpp>
11 #include <locale>
12 
13 namespace qi {
14 
15  QI_API void init(int argc, char *argv[]);
16  QI_API int argc();
17  QI_API const char** argv();
18  QI_API const char *program();
19 
20  typedef std::codecvt<wchar_t, char, std::mbstate_t> codecvt_type;
21  QI_API const codecvt_type &unicodeFacet();
22 }
23 
24 #endif /* !QI_PP_ */