]> Creatis software - bbtk.git/blob - packages/std/src/bbstdConfiguration.cxx
=== MAJOR RELEASE ====
[bbtk.git] / packages / std / src / bbstdConfiguration.cxx
1 #include "bbstdConfiguration.h"
2 #include "bbstdPackage.h"
3
4 #include "bbtkConfigurationFile.h"
5 namespace bbstd
6 {
7   BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration);
8   BBTK_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::AtomicBlackBox);
9   
10   void Configuration::bbUserConstructor() 
11   { 
12     
13   }
14   
15   void Configuration::DoProcess()
16   {
17     bbSetOutputBinPath( bbtk::ConfigurationFile::GetInstance().Get_bin_path() );
18     bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() );
19     bbSetOutputDocPath( bbtk::ConfigurationFile::GetInstance().Get_doc_path() );
20     bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() );
21     
22 #if defined(__GNUC__)
23     bbSetOutputSystemType( 0 );
24 #elif defined(_WIN32)
25     bbSetOutputSystemType( 1 );
26 #else
27     bbSetOutputSystemType( -1 );
28 #endif
29     
30   }
31 }
32 // EO namespace bbstd