created getter for no inputFlags

This commit is contained in:
Václav Šmejkal 2022-05-27 17:25:02 +02:00
parent 54b137165a
commit b540d5f36c
2 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,7 @@ static int keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS <
//GETTERS //GETTERS
int getKeyLength(); int getKeyLength();
inputFlags noFlags();
//SETTERS //SETTERS
void setKeyLength(int keyLengthNew); void setKeyLength(int keyLengthNew);

View File

@ -5,6 +5,11 @@ int getKeyLength()
return keyLength; return keyLength;
} }
inputFlags noFlags()
{
return (inputFlags) {0, 0};
}
void setKeyLength(int keyLengthNew) void setKeyLength(int keyLengthNew)
{ {
keyLength = keyLengthNew; keyLength = keyLengthNew;