]> Creatis software - bbtk.git/blob - packages/std/src/bbstdConfiguration.cxx
8fab8fe47f525b5a4b01ca15900163758529ab54
[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
8         BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration)
9         BBTK_USER_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::UserBlackBox);
10
11         void Configuration::bbUserConstructor() 
12    { 
13
14    }
15
16
17         void Configuration::DoProcess()
18         {
19       bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_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
33
34