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