aboutsummaryrefslogtreecommitdiff
path: root/src/QR-Code-scanner/Decoder.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-01-20 22:40:14 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-01-20 22:40:14 -0500
commitec7bc577d69efbef1056b0f04320b0fa853b1e84 (patch)
treee713121e3c8f7d330af6bef0b1dcfeabad8323c9 /src/QR-Code-scanner/Decoder.cpp
parent3f4de99be457255a323f6be5e3be9ffdb93d304d (diff)
parente9b894da1601473eca7706acdb2f8cbb8a7fb12b (diff)
downloadmonzero-gui-ec7bc577d69efbef1056b0f04320b0fa853b1e84.tar.gz
monzero-gui-ec7bc577d69efbef1056b0f04320b0fa853b1e84.tar.xz
monzero-gui-ec7bc577d69efbef1056b0f04320b0fa853b1e84.zip
Merge pull request #3292
e9b894d Transfer: implement 'Grab QR code from screen' functionality (xiphon)
Diffstat (limited to 'src/QR-Code-scanner/Decoder.cpp')
-rw-r--r--src/QR-Code-scanner/Decoder.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/QR-Code-scanner/Decoder.cpp b/src/QR-Code-scanner/Decoder.cpp
index a814969b..1bb99140 100644
--- a/src/QR-Code-scanner/Decoder.cpp
+++ b/src/QR-Code-scanner/Decoder.cpp
@@ -1,3 +1,31 @@
+// Copyright (c) 2020, The Monero Project
+//
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without modification, are
+// permitted provided that the following conditions are met:
+//
+// 1. Redistributions of source code must retain the above copyright notice, this list of
+// conditions and the following disclaimer.
+//
+// 2. Redistributions in binary form must reproduce the above copyright notice, this list
+// of conditions and the following disclaimer in the documentation and/or other
+// materials provided with the distribution.
+//
+// 3. Neither the name of the copyright holder nor the names of its contributors may be
+// used to endorse or promote products derived from this software without specific
+// prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+// THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
+// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
#include "Decoder.h"
#include <limits>