Urbi SDK Remote for C++  2.7.5
package-info.cc
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2007-2010, Gostai S.A.S.
00003  *
00004  * This software is provided "as is" without warranty of any kind,
00005  * either expressed or implied, including but not limited to the
00006  * implied warranties of fitness for a particular purpose.
00007  *
00008  * See the LICENSE file for more information.
00009  */
00010 
00011 #include <libport/package-info.hh>
00012 #include <libport/version.hh>
00013 
00014 #include <kernel/config.h>
00015 #include <urbi/package-info.hh>
00016 
00017 #include <libuvalue/revision-stub.hh>
00018 
00019 namespace urbi
00020 {
00021   const libport::PackageInfo&
00022   package_info()
00023   {
00024     LIBPORT_PACKAGE_INFO_STATIC_VAR(pi);
00025     static bool first = true;
00026     if (first)
00027     {
00028       first = false;
00029       pi.dependency_add(libport::package_info());
00030     }
00031     return pi;
00032   }
00033 
00034 }