]> Creatis software - bbtk.git/blob - packages/std/src/bbstdConfiguration.cxx
89029b9c45462ae73a61b9886433d336f0e39dcd
[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_USER_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::UserBlackBox);
9
10         void Configuration::bbUserConstructor() 
11    { 
12
13    }
14
15         void Configuration::DoProcess()
16         {
17       bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() );
18       bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() );
19
20 #if defined(__GNUC__)
21       bbSetOutputSystemType( 0 );
22 #elif defined(_WIN32)
23       bbSetOutputSystemType( 1 );
24 #else
25       bbSetOutputSystemType( -1 );
26 #endif
27
28         }
29 }
30 // EO namespace bbstd