8522e371bf
git-svn-id: https://websvn.glenux.net/svn/Upoc/cryptaffinity/trunk@1175 eaee96b3-f302-0410-b096-c6cfd47f7835
27 lines
433 B
C++
27 lines
433 B
C++
#ifndef _CRYPTAFINIY_KEYAFINE_HH
|
|
#define _CRYPTAFINIY_KEYAFINE_HH
|
|
|
|
#include "cryptafinity_global.hh"
|
|
#include "cryptafinity_iface.hh"
|
|
|
|
#include "key.hh" // declaration
|
|
#include "text.hh" // body
|
|
|
|
namespace LibCryptAfinity {
|
|
class KeyAfine : public Key {
|
|
private:
|
|
int _a;
|
|
int _b;
|
|
|
|
public:
|
|
void setCoefA(int i);
|
|
void setCoefB(int i);
|
|
|
|
int getCoefA();
|
|
int getCoefB();
|
|
|
|
std::string toString();
|
|
};
|
|
}
|
|
|
|
#endif
|