Mercurial > hg > orthanc
comparison OrthancServer/OrthancConfiguration.h @ 2946:2e751f615e03
new configuration options: DicomModalitiesInDatabase and OrthancPeersInDatabase
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Nov 2018 17:15:29 +0100 |
parents | f395460af74d |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2945:3c636087d060 | 2946:2e751f615e03 |
---|---|
69 { | 69 { |
70 } | 70 } |
71 | 71 |
72 void LoadModalitiesFromJson(const Json::Value& source); | 72 void LoadModalitiesFromJson(const Json::Value& source); |
73 | 73 |
74 void LoadPeersFromJson(const Json::Value& source); | |
75 | |
76 void LoadModalities(); | |
77 | |
78 void LoadPeers(); | |
79 | |
74 void SaveModalitiesToJson(Json::Value& target); | 80 void SaveModalitiesToJson(Json::Value& target); |
75 | 81 |
76 void LoadPeersFromJson(const Json::Value& source); | |
77 | |
78 void SavePeersToJson(Json::Value& target); | 82 void SavePeersToJson(Json::Value& target); |
79 | |
80 void LoadModalitiesAndPeers(); | |
81 | 83 |
82 void SaveModalities(); | 84 void SaveModalities(); |
83 | 85 |
84 void SavePeers(); | 86 void SavePeers(); |
85 | 87 |
150 { | 152 { |
151 return fontRegistry_; | 153 return fontRegistry_; |
152 } | 154 } |
153 | 155 |
154 void Read(const char* configurationFile); | 156 void Read(const char* configurationFile); |
157 | |
158 void LoadModalitiesAndPeers(); | |
155 | 159 |
156 void RegisterFont(EmbeddedResources::FileResourceId resource) | 160 void RegisterFont(EmbeddedResources::FileResourceId resource) |
157 { | 161 { |
158 fontRegistry_.AddFromResource(resource); | 162 fontRegistry_.AddFromResource(resource); |
159 } | 163 } |