Ignore:
Timestamp:
May 8, 2010, 8:34:05 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
495a53
Parents:
536ce2
git-author:
Frederik Heber <heber@…> (05/08/10 20:30:27)
git-committer:
Frederik Heber <heber@…> (05/08/10 20:34:05)
Message:

class config added to World.

  • World now has the global configuration.
  • new function World::getConfig().
  • TextWindow::TextWindow() uses thr above to obtain the configuration.

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/World.hpp

    r536ce2 re04838  
    3030
    3131// forward declarations
     32class config;
    3233class periodentafel;
    3334class MoleculeListClass;
     
    7576
    7677  /**
     78   * returns the configuration for the world.
     79   */
     80  config *&getConfig();
     81
     82  /**
    7783   * returns the first atom that matches a given descriptor.
    7884   * Do not rely on ordering for descriptors that match more than one atom.
     
    234240
    235241  periodentafel *periode;
     242  config *configuration;
    236243  static double *cell_size;
    237244  static char *defaultName;
Note: See TracChangeset for help on using the changeset viewer.