#ifndef CONFIGURATION_H
#define CONFIGURATION_H

#ifndef OWN_H
#include "Own.h"
#endif

#ifndef COMMON_CONFIGURATION_H
#include "Common_configuration.h"
#endif

#ifndef ARRAY_H
#include "Array.h"
#endif

#ifndef TEXT_H
#include "Text.h"
#endif

namespace MM
{

class Configuration
{
    static Own <Common_configuration>   common_part_;
    static int                          argc_;
    static Array <Text>                 argv_;

public:        
                                        Configuration ();
                                        Configuration (int argc, char * argv[]);
    virtual                            ~Configuration();

    static int                          argc ()      {return argc_;}
    static Text const &                 argv (int i) {return argv_[i];}
};

}//MM

#endif //CONFIGURATION_H
