/***************************** LICENSE START ***********************************

 Copyright 2012 ECMWF and INPE. This software is distributed under the terms
 of the Apache License version 2.0. In applying this license, ECMWF does not
 waive the privileges and immunities granted to it by virtue of its status as
 an Intergovernmental Organization or submit itself to any jurisdiction.

 ***************************** LICENSE END *************************************/

#ifndef MacroParamObject_H
#define MacroParamObject_H

#include "StandardObject.h"

#include <string>
using std::string;

#include "MacroParamState.h"

class MacroParamObject : public StandardObject 
{
public:
	MacroParamObject(Folder* parent,
		const IconClass& kind, const string& name,
		IconInfo* info);
	virtual ~MacroParamObject(); 
	
	MacroParamState* state() const;
	void state(MacroParamState*);

private:
	// No copy allowed
	MacroParamObject(const MacroParamObject&);
	MacroParamObject& operator=(const MacroParamObject&);

	Language& language() const;
	Request fullRequest() const;
	void request(const Request&);
	Request request() const;
	
	
	MacroParamStateH state_;
};

inline void destroy(MacroParamObject**) {}

#endif
