summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-23 22:36:25 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:43 +0100
commitdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (patch)
tree091f564418533267369d993f554e939c7351f4d6 /protocols
parent1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (diff)
guard headers
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Discord/src/proto.h1
-rw-r--r--protocols/Dummy/src/dummy.h2
-rw-r--r--protocols/Dummy/src/dummy_proto.h2
-rw-r--r--protocols/ICQCorp/src/stdafx.h2
-rw-r--r--protocols/IRCG/src/irc_dlg.h2
-rw-r--r--protocols/IcqOscarJ/src/icq_advsearch.h2
-rw-r--r--protocols/IcqOscarJ/src/icq_fieldnames.h2
-rw-r--r--protocols/IcqOscarJ/src/stdafx.h2
-rw-r--r--protocols/JabberG/src/jabber_search.h2
-rw-r--r--protocols/JabberG/src/jabber_secur.h2
-rw-r--r--protocols/MSN/src/stdafx.h2
-rw-r--r--protocols/SkypeWeb/src/requests/trouter.h2
-rw-r--r--protocols/Tox/libtox/src/stdafx.h1
-rw-r--r--protocols/Twitter/src/oauth.dev.h2
14 files changed, 26 insertions, 0 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h
index c701a7b98a..24e4562e1b 100644
--- a/protocols/Discord/src/proto.h
+++ b/protocols/Discord/src/proto.h
@@ -1,3 +1,4 @@
+#pragma once
typedef __int64 SnowFlake;
diff --git a/protocols/Dummy/src/dummy.h b/protocols/Dummy/src/dummy.h
index 5e06730bc2..67f7da5716 100644
--- a/protocols/Dummy/src/dummy.h
+++ b/protocols/Dummy/src/dummy.h
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
struct CDummyProto;
extern LIST<CDummyProto> dummy_Instances;
extern HINSTANCE hInst;
diff --git a/protocols/Dummy/src/dummy_proto.h b/protocols/Dummy/src/dummy_proto.h
index 08829870cf..3805467547 100644
--- a/protocols/Dummy/src/dummy_proto.h
+++ b/protocols/Dummy/src/dummy_proto.h
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
struct CDummyProto;
struct CDummyProto : public PROTO<CDummyProto>
diff --git a/protocols/ICQCorp/src/stdafx.h b/protocols/ICQCorp/src/stdafx.h
index 20d37536f2..5aac37d71e 100644
--- a/protocols/ICQCorp/src/stdafx.h
+++ b/protocols/ICQCorp/src/stdafx.h
@@ -17,6 +17,8 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
#include <stdio.h>
#include <winsock2.h>
#include <windows.h>
diff --git a/protocols/IRCG/src/irc_dlg.h b/protocols/IRCG/src/irc_dlg.h
index 0a23223930..b491278c39 100644
--- a/protocols/IRCG/src/irc_dlg.h
+++ b/protocols/IRCG/src/irc_dlg.h
@@ -19,6 +19,8 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
/////////////////////////////////////////////////////////////////////////////////////////
// Dialogs
diff --git a/protocols/IcqOscarJ/src/icq_advsearch.h b/protocols/IcqOscarJ/src/icq_advsearch.h
index 74161d4d7d..d04e8b8e31 100644
--- a/protocols/IcqOscarJ/src/icq_advsearch.h
+++ b/protocols/IcqOscarJ/src/icq_advsearch.h
@@ -22,5 +22,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// -----------------------------------------------------------------------------
+#pragma once
+
INT_PTR CALLBACK AdvancedSearchDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
PBYTE createAdvancedSearchStructure(HWND hwndDlg, size_t *length);
diff --git a/protocols/IcqOscarJ/src/icq_fieldnames.h b/protocols/IcqOscarJ/src/icq_fieldnames.h
index 89b1eee521..d3f60dfe2e 100644
--- a/protocols/IcqOscarJ/src/icq_fieldnames.h
+++ b/protocols/IcqOscarJ/src/icq_fieldnames.h
@@ -23,6 +23,8 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// -----------------------------------------------------------------------------
+#pragma once
+
struct FieldNamesItem
{
int code;
diff --git a/protocols/IcqOscarJ/src/stdafx.h b/protocols/IcqOscarJ/src/stdafx.h
index 8f46a4b768..27c90396b8 100644
--- a/protocols/IcqOscarJ/src/stdafx.h
+++ b/protocols/IcqOscarJ/src/stdafx.h
@@ -27,6 +27,8 @@
// Includes all header files that should be precompiled to speed up compilation.
// -----------------------------------------------------------------------------
+#pragma once
+
// Windows includes
#include <windows.h>
#include <commctrl.h>
diff --git a/protocols/JabberG/src/jabber_search.h b/protocols/JabberG/src/jabber_search.h
index a869d24c0f..12b508393c 100644
--- a/protocols/JabberG/src/jabber_search.h
+++ b/protocols/JabberG/src/jabber_search.h
@@ -26,6 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
typedef struct _tagJabberSearchFieldsInfo
{
wchar_t * szFieldName;
diff --git a/protocols/JabberG/src/jabber_secur.h b/protocols/JabberG/src/jabber_secur.h
index 4e0d64e2ac..5cdf79a4cf 100644
--- a/protocols/JabberG/src/jabber_secur.h
+++ b/protocols/JabberG/src/jabber_secur.h
@@ -22,6 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
#include "stdafx.h"
// basic class - provides interface for various Jabber auth
diff --git a/protocols/MSN/src/stdafx.h b/protocols/MSN/src/stdafx.h
index ce46b08d61..13aa98cb49 100644
--- a/protocols/MSN/src/stdafx.h
+++ b/protocols/MSN/src/stdafx.h
@@ -20,6 +20,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#include <windows.h>
#include <commctrl.h>
diff --git a/protocols/SkypeWeb/src/requests/trouter.h b/protocols/SkypeWeb/src/requests/trouter.h
index 76066c0f46..f8a56153c0 100644
--- a/protocols/SkypeWeb/src/requests/trouter.h
+++ b/protocols/SkypeWeb/src/requests/trouter.h
@@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
class CreateTrouterRequest : public HttpRequest
{
public:
diff --git a/protocols/Tox/libtox/src/stdafx.h b/protocols/Tox/libtox/src/stdafx.h
index e69de29bb2..6f70f09bee 100644
--- a/protocols/Tox/libtox/src/stdafx.h
+++ b/protocols/Tox/libtox/src/stdafx.h
@@ -0,0 +1 @@
+#pragma once
diff --git a/protocols/Twitter/src/oauth.dev.h b/protocols/Twitter/src/oauth.dev.h
index 13c383b3ab..24deff074c 100644
--- a/protocols/Twitter/src/oauth.dev.h
+++ b/protocols/Twitter/src/oauth.dev.h
@@ -1,2 +1,4 @@
+#pragma once
+
#define OAUTH_CONSUMER_KEY L"AwSuQV9A7uXpat81MQB48g"
#define OAUTH_CONSUMER_SECRET L"x8pPGCCV5wFs26euODb9gv4VQ4kiuxTp3ed2P8Of4" \ No newline at end of file