-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.h
30 lines (29 loc) · 1004 Bytes
/
main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// generated by Fast Light User Interface Designer (fluid) version 1.0303
#ifndef main_h
#define main_h
#include <FL/Fl.H>
#include <iostream>
#include <string>
#include <cstdlib>
#include <FL/fl_ask.H>
unsigned long long stringToULL(const char* c);
unsigned long long power(unsigned long long base, unsigned long long exponent);
bool checkForLow(char c);
bool checkForCaps(char c);
bool checkForNumbers(char c);
bool checkForSpecialCharacters(char c);
bool checkForNonASCIICharacters(char c);
unsigned long long calculateCombinations(std::string s);
unsigned long long calculateTime(unsigned long long combinations, unsigned long long calcPerSec);
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Group.H>
extern Fl_Group *grpInput;
#include <FL/Fl_Input.H>
extern Fl_Input *txtCalculationsPerSecond;
extern Fl_Input *txtPassword;
#include <FL/Fl_Return_Button.H>
extern Fl_Return_Button *btnSubmit;
extern Fl_Group *grpOutput;
#include <FL/Fl_Text_Display.H>
extern Fl_Text_Display *txtOutput;
#endif