Show
Ignore:
Timestamp:
21/05/10 19:44:17 (2 years ago)
Author:
westram
Message:
  • AW_root
    • ctor initializes AWAR subsystem
    • made more clear that AW_root is a singleton
    • call dtor atexit; unlink AWARs from prop-DB and free memory (AW_window instances and releated mem still remain)
    • close properties DB
    • renamed some functions
  • AW_awar
    • added dtor
  • added AWT_create_root (necessary to add properties DB to DB-browser)
  • removed AWT_open_properties (done inside AW_root-ctor now)
  • EDIT properties
    • detect existing properties before constructing AW_root
  • removed AW_config_struct
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/AWT/AWT_db_browser.cxx

    r6592 r6666  
    955955#endif // DEBUG 
    956956 
    957 AW_default AWT_open_properties(AW_root *aw_root, const char *default_name) { 
    958     AW_default aw_def = aw_root->open_default(default_name); 
     957AW_root *AWT_create_root(const char *properties, const char *program) { 
     958    AW_root *aw_root = new AW_root(properties, program, false); 
    959959#if defined(DEBUG) 
    960     if (aw_def) AWT_announce_properties_to_browser(aw_def, default_name); 
     960    AWT_announce_properties_to_browser(AW_ROOT_DEFAULT, properties); 
    961961#endif // DEBUG 
    962     return aw_def; 
    963 } 
    964  
     962    return aw_root; 
     963} 
    965964 
    966965// ------------------------