- Finish writing ConcreteHistory. That was nasty!

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@700 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-07-03 20:10:51 +00:00
parent cb8e8dabc7
commit e2fc34f16b
3 changed files with 53 additions and 15 deletions

View file

@ -62,7 +62,7 @@ namespace sgpem
typedef int prio_t;
typedef Environment::resource_key_t resource_key_t;
typedef const std::pair<resource_key_t, Resource&> ResourcePair;
typedef const std::pair<resource_key_t, Resource*> ResourcePair;
virtual ~History() = 0;
@ -77,7 +77,7 @@ namespace sgpem
virtual void remove(SubRequest& subrequest) = 0;
virtual ResourcePair& add_resource(const Glib::ustring& name,
virtual ResourcePair add_resource(const Glib::ustring& name,
bool preemptable = false,
size_t places = 1,
size_t availability = 0) = 0;