Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.h @ 1134:ba9fd42284d0
preparing storage plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Sep 2014 12:53:49 +0200 |
parents | 382e162c074c |
children | 0479d02c6778 |
comparison
equal
deleted
inserted
replaced
1133:382e162c074c | 1134:ba9fd42284d0 |
---|---|
132 return that_.lua_; | 132 return that_.lua_; |
133 } | 133 } |
134 }; | 134 }; |
135 | 135 |
136 | 136 |
137 ServerContext(IStorageArea& storage, | 137 ServerContext(const boost::filesystem::path& indexPath); |
138 const boost::filesystem::path& indexPath); | 138 |
139 void SetStorageArea(IStorageArea& storage) | |
140 { | |
141 accessor_.SetStorageArea(storage); | |
142 } | |
139 | 143 |
140 ServerIndex& GetIndex() | 144 ServerIndex& GetIndex() |
141 { | 145 { |
142 return index_; | 146 return index_; |
143 } | 147 } |