Mercurial > hg > orthanc
diff Core/FileFormats/PngReader.h @ 759:8cfc6119a5bd dicom-rt
integration mainline -> dicom-rt
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Apr 2014 16:04:55 +0200 |
parents | c87a1d529e13 |
children | 37adac56017a |
line wrap: on
line diff
--- a/Core/FileFormats/PngReader.h Thu Oct 17 14:21:50 2013 +0200 +++ b/Core/FileFormats/PngReader.h Wed Apr 16 16:04:55 2014 +0200 @@ -1,6 +1,6 @@ /** * Orthanc - A Lightweight, RESTful DICOM Store - * Copyright (C) 2012-2013 Medical Physics Department, CHU of Liege, + * Copyright (C) 2012-2014 Medical Physics Department, CHU of Liege, * Belgium * * This program is free software: you can redistribute it and/or @@ -96,6 +96,11 @@ void ReadFromFile(const char* filename); + void ReadFromFile(const std::string& filename) + { + ReadFromFile(filename.c_str()); + } + void ReadFromMemory(const void* buffer, size_t size);