File indexing completed on 2024-09-22 05:15:39
0001 /* 0002 This file is part of the Okteta Kasten module, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2009 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 Public domain. 0007 */ 0008 0009 //// ADAPT(start) 0010 //// rename "TEMPLATE_BYTEARRAYCHECKSUMPARAMETERSET_HPP" to an include guard matching your class/file name 0011 //// e.g. "MYBYTEARRAYCHECKSUMPARAMETERSET_HPP" 0012 #ifndef KASTEN_TEMPLATE_BYTEARRAYCHECKSUMPARAMETERSET_HPP 0013 #define KASTEN_TEMPLATE_BYTEARRAYCHECKSUMPARAMETERSET_HPP 0014 //// ADAPT(end) 0015 0016 // lib 0017 #include "abstractbytearraychecksumparameterset.hpp" 0018 0019 //// ADAPT(start) 0020 //// rename the class name from Template_ByteArrayChecksumParameterSet to a proper name, both here and in the .cpp file 0021 //// e.g. MyByteArrayChecksumParameterSet 0022 class Template_ByteArrayChecksumParameterSet : public AbstractByteArrayChecksumParameterSet 0023 //// ADAPT(end) 0024 { 0025 public: 0026 Template_ByteArrayChecksumParameterSet(); 0027 0028 ~Template_ByteArrayChecksumParameterSet() override; 0029 0030 public: // AbstractByteArrayChecksumParameterSet API 0031 const char* id() const override; 0032 0033 //// ADAPT(start) 0034 //// declare the parameters and the corresponding getters and setters 0035 0036 public: // getters 0037 int bitNumber() const; 0038 0039 public: // setters 0040 void setBitNumber(int bitNumber); 0041 0042 private: // parameters 0043 int mBitNumber; 0044 //// ADAPT(end) 0045 }; 0046 0047 #endif