Changeset 268

Show
Ignore:
Timestamp:
02/11/09 14:15:07 (16 years ago)
Author:
smidl
Message:

commandline arguments

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/UI/UIArxDS_test.cpp

    r265 r268  
    1212 
    1313using namespace bdm; 
    14 int main() { 
    15         UIFile F ( "UIArxDS_test.cfg" ); 
     14int main(int argc, char* argv[]) { 
     15        const char *fname; 
     16        if (argc>0) { 
     17                fname = argv[0]; 
     18        } else { 
     19                fname = "UIArxDS_test.cfg"; 
     20        } 
     21        UIFile F ( fname ); 
    1622 
    1723        logger* L;