Refractoring code and adding memory management
This commit is contained in:
+3
-5
@@ -1,22 +1,20 @@
|
||||
#ifndef CRYPTION_H
|
||||
#define CRYPTION_H
|
||||
|
||||
#include<fstream>
|
||||
#include<string>
|
||||
|
||||
class Cryption
|
||||
{
|
||||
public:
|
||||
Cryption();
|
||||
~Cryption();
|
||||
Cryption() = default;
|
||||
~Cryption() = default;
|
||||
Cryption(const std::string&);
|
||||
|
||||
std::string getMessage() const;
|
||||
protected:
|
||||
void setMessage(const std::string&);
|
||||
|
||||
std::string message{};
|
||||
std::fstream ioEvent{};
|
||||
std::string message;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user