Begin parser...
This commit is contained in:
parent
aa249b5700
commit
c93be89ea6
5 changed files with 244 additions and 8 deletions
|
@ -8,17 +8,70 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef __WEBSITE__
|
||||
#define __WEBSITE__
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
/**
|
||||
* @class FileManIOFile FileManIOFile.hpp "/CryptClass/FileManIOFile.hpp"
|
||||
* @brief Class for quick open and close encrypted file.
|
||||
* @author manzerbredes
|
||||
*
|
||||
* -----File organisation-----
|
||||
*
|
||||
* 16 first bytes : md5 of decrypted file
|
||||
* rest of the file : data encrypted (ASE for now)
|
||||
*
|
||||
*/
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @class Website Website.hpp "/ParserClass/FileManContainer/Website.hpp"
|
||||
* @brief Class for quick open and close encrypted file.
|
||||
* @author manzerbredes
|
||||
*
|
||||
* Container for website data.
|
||||
*
|
||||
*/
|
||||
class Website{
|
||||
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
* @brief Containner getters.
|
||||
*/
|
||||
|
||||
std::string getTitle();
|
||||
std::string getUrl();
|
||||
std::string getUsername();
|
||||
std::string getPassword();
|
||||
std::string getDescription();
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Containner setters.
|
||||
*/
|
||||
void setTitle(std::string title);
|
||||
void setUrl(std::string url);
|
||||
void setUsername(std::string username);
|
||||
void setPassword(std::string password);
|
||||
void setDescription(std::string description);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
}
|
||||
std::string title; ///< Title en the website
|
||||
std::string url; ///< Url of the website
|
||||
std::string username; ///< username of the account
|
||||
std::string password; ///< password of the account
|
||||
std::string description; ///< Description of the website
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue