diff --git a/Commonwindow.h b/Commonwindow.h new file mode 100644 index 0000000..16339ad --- /dev/null +++ b/Commonwindow.h @@ -0,0 +1,24 @@ +#ifndef COMMONWINDOW_H_ +#define COMMONWINDOW_H_ + +#include +#include +#include +#include +#include + +using std::unique_ptr; + +class CommonWindow +{ +public: + CommonWindow() = default; + ~CommonWindow() = default; +protected: + unique_ptr selectionBox; + unique_ptr actionButton; + unique_ptr mainLayout; + unique_ptr subLayoutOne; + unique_ptr subLayoutTwo; +}; +#endif diff --git a/EncryptedMessaging.pro b/EncryptedMessaging.pro index 2b390b0..2a60b9b 100644 --- a/EncryptedMessaging.pro +++ b/EncryptedMessaging.pro @@ -9,7 +9,7 @@ QT += widgets INCLUDEPATH += . # Input -HEADERS += Decryption.h Encryption.h GenerateKeys.h MessagingControls.h Cryption.h KeyManagementWindow.h KeyRetrieval.h Conversions.h +HEADERS += Decryption.h Encryption.h GenerateKeys.h MessagingControls.h Cryption.h KeyManagementWindow.h KeyRetrieval.h Conversions.h CommonWindow.h ViewingWindow.h SOURCES += Decryption.cpp \ Encryption.cpp \ Cryption.cpp \ diff --git a/ViewingWindow.h b/ViewingWindow.h new file mode 100644 index 0000000..4255fbc --- /dev/null +++ b/ViewingWindow.h @@ -0,0 +1,18 @@ +#ifndef VIEWINGWINDOW_H_ +#define VIEWINGWINDOW_H_ + +#include +#include +#include + +using std::unique_ptr; + +class ViewingWindow +{ +public: + ViewingWindow() = default; + ~ViewingWindow() = default; +protected: + unique_ptr crypticText; +}; +#endif