From 60610b9783dc136d455389227c1b71627f47aba5 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 29 Oct 2017 17:36:57 +0000 Subject: [PATCH] structs.h: Moved QRNotif to common/structs.h --- source/common/structs.h | 27 +++++++++++++++++++++++++++ source/frmInvalidSSLCertificate.h | 1 + source/frmMain.h | 6 +----- 3 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 source/common/structs.h diff --git a/source/common/structs.h b/source/common/structs.h new file mode 100644 index 0000000..d0d52fa --- /dev/null +++ b/source/common/structs.h @@ -0,0 +1,27 @@ +// structs.h - Common structs +// +// (c) 2012-2017 Xestia Software Development. +// +// This file is part of Xestia Address Book. +// +// Xestia Address Book is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by the +// Free Software Foundation, version 3 of the license. +// +// Xestia Address Book is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with Xestia Address Book. If not, see + +#ifndef __COMMON_STRUCTS_H__ +#define __COMMON_STRUCTS_H__ + +struct QRNotif{ + int *QResponse; + bool *PausePtr; +}; + +#endif diff --git a/source/frmInvalidSSLCertificate.h b/source/frmInvalidSSLCertificate.h index 934cae7..62c3d65 100644 --- a/source/frmInvalidSSLCertificate.h +++ b/source/frmInvalidSSLCertificate.h @@ -27,6 +27,7 @@ Subclass of frmInvalidSSLCertificateADT, which is generated by wxFormBuilder. #include "AppXestiaAddrBk.h" #include "frmMain.h" #include "common/sslcertstructs.h" +#include "common/structs.h" //// end generated include diff --git a/source/frmMain.h b/source/frmMain.h index b9e564b..dd4273b 100644 --- a/source/frmMain.h +++ b/source/frmMain.h @@ -47,6 +47,7 @@ Subclass of frmMainADT, which is generated by wxFormBuilder. #include "common/timers.h" #include "common/events.h" #include "common/etag.h" +#include "common/structs.h" #include "bitmaps.h" #include "common/sslcertstructs.h" #include "widgets/XABContactMenu.h" @@ -99,11 +100,6 @@ struct SWCloseNotif{ void *SCHWinPtr; }; -struct QRNotif{ - int *QResponse; - bool *PausePtr; -}; - struct XABViewMode{ int SortMode; -- 2.39.2