Debian Codegraph @

src/lib/QXP33Deobfuscator.cpp

raw
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libqxp project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #include "QXP33Deobfuscator.h"
11
12 namespace libqxp
13 {
14
15 QXP33Deobfuscator::QXP33Deobfuscator(uint16_t seed, uint16_t increment)
16 : QXPDeobfuscator(seed)
17 , m_increment(increment)
18 {
19 }
20
21 void QXP33Deobfuscator::next()
22 {
23 m_seed += m_increment;
24 }
25
26 }
27
28 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */