diff --git a/README.md b/README.md index a5e2fcd..70d1d1f 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,7 @@ This package uses prebuild to fetch precompiled binaries, so provided your platf Otherwise install will try to compile the sources for your platform, you will need: * CMake installed and in path -* a working c++ compiler -* linux only: gobjc++ library installed (e.g for ubuntu: sudo apt-get install gobjc++) +* a working c++ compiler (vs 2015+ or g++5.3+) ## Examples ``` @@ -35,8 +34,9 @@ dimse.startScp(JSON.stringify( "aet": "IMEBRA", "ip" : "127.0.0.1", "port": "9999" - } - } + }, + "storagePath": "./data" + } ), (result) => { try { console.log(JSON.parse(result)); @@ -117,4 +117,4 @@ dimse.findScu(JSON.stringify( ``` ## License -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fknopkem%2Fdicom-dimse-native.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fknopkem%2Fdicom-dimse-native?ref=badge_large) \ No newline at end of file +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fknopkem%2Fdicom-dimse-native.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fknopkem%2Fdicom-dimse-native?ref=badge_large) diff --git a/examples/move.js b/examples/move.js index 7600c5e..33ecd9c 100644 --- a/examples/move.js +++ b/examples/move.js @@ -6,7 +6,8 @@ addon.startScp(JSON.stringify( "aet": "IMEBRA", "ip" : "127.0.0.1", "port": "9999" - } + }, + "storagePath": "./data" } ), (result) => { try diff --git a/library/implementation/logging.mm b/library/implementation/logging.mm deleted file mode 100644 index 672cc69..0000000 --- a/library/implementation/logging.mm +++ /dev/null @@ -1,21 +0,0 @@ -#include "logging.h" -#if defined(IMEBRA_LOGGING_APPLE) - -#import - -namespace imebra -{ - -namespace implementation -{ - -void appleLog(const std::string& format, const std::string& message) -{ - ::NSLog([[ NSString alloc] initWithUTF8String: format.c_str()], [[ NSString alloc] initWithUTF8String: message.c_str()]); -} - -} - -} - -#endif diff --git a/package.json b/package.json index 7ec1618..d313899 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dicom-dimse-native", - "version": "0.1.1", + "version": "0.1.2", "description": "native addon using imebra dicom toolkit", "main": "index.js", "scripts": {