X-Git-Url: http://git.maemo.org/git/?p=mnenc;a=blobdiff_plain;f=libmnenc%2Fmnenc.hpp;h=b05790f341cb8ca45d2930a3d7933e87cc68eafb;hp=5bea13a4df9528e88abf87fbadcb499f687a590e;hb=refs%2Fheads%2Fmaster;hpb=bc59f3d8b10c8a3a314cac6c2e094e71cc9ee246 diff --git a/libmnenc/mnenc.hpp b/libmnenc/mnenc.hpp index 5bea13a..b05790f 100644 --- a/libmnenc/mnenc.hpp +++ b/libmnenc/mnenc.hpp @@ -43,8 +43,8 @@ class mnenc { void set_enc(string str) {enc = str;}; //set encrypted password void set_dec(string str) {dec = str;}; //set decrypted password string genkey(); //generate a key to be used instead of imei - void make_folder(); //Create /home/user/.qtify if it doesnt exist - + bool is_int(char c); //see if a char is actualy an int + string make_path(); public: mnenc(); void encrypt(string str); //encrypt password @@ -53,6 +53,8 @@ class mnenc { string get_enc() {return enc;}; //Get encrypted password bool to_file(string filename); //Save to file bool from_file(string filename); //get from file + void make_folder(); //Create /home/user/.qtify if it doesnt exist + bool is_imei(string str); //see if a string passes as an imei /* Added by hexagon */ bool user_to_file(string filename); //Save to file bool user_from_file(string filename); //get from file