diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-23 22:36:25 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 18:20:43 +0100 |
commit | dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (patch) | |
tree | 091f564418533267369d993f554e939c7351f4d6 /plugins/FileAsMessage | |
parent | 1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (diff) |
guard headers
Diffstat (limited to 'plugins/FileAsMessage')
-rw-r--r-- | plugins/FileAsMessage/src/dialog.h | 4 | ||||
-rw-r--r-- | plugins/FileAsMessage/src/stdafx.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/FileAsMessage/src/dialog.h b/plugins/FileAsMessage/src/dialog.h index 10f110bf37..117ae006a3 100644 --- a/plugins/FileAsMessage/src/dialog.h +++ b/plugins/FileAsMessage/src/dialog.h @@ -1,3 +1,5 @@ +#pragma once
+
extern HINSTANCE hInst;
int getMsgId(char *msg);
@@ -100,7 +102,7 @@ public: void cmdACCEPT();
void cmdDACK(char *data);
void sendReq();
- int sendCmd(int id, int cmd, char *szParam, char *szPrefix = NULL);
+ int sendCmd(int id, int cmd, char *szParam, char *szPrefix = nullptr);
void cmdDATA(char *data);
void cmdEND();
diff --git a/plugins/FileAsMessage/src/stdafx.h b/plugins/FileAsMessage/src/stdafx.h index af2ed0eda7..4d16007237 100644 --- a/plugins/FileAsMessage/src/stdafx.h +++ b/plugins/FileAsMessage/src/stdafx.h @@ -1,3 +1,5 @@ +#pragma once + #define _CRT_NONSTDC_NO_DEPRECATE #include <windows.h> |