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/AutoShutdown/src | |
parent | 1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (diff) |
guard headers
Diffstat (limited to 'plugins/AutoShutdown/src')
-rw-r--r-- | plugins/AutoShutdown/src/cpuusage.h | 2 | ||||
-rw-r--r-- | plugins/AutoShutdown/src/frame.h | 2 | ||||
-rw-r--r-- | plugins/AutoShutdown/src/options.h | 2 | ||||
-rw-r--r-- | plugins/AutoShutdown/src/settingsdlg.h | 2 | ||||
-rw-r--r-- | plugins/AutoShutdown/src/shutdownsvc.h | 2 | ||||
-rw-r--r-- | plugins/AutoShutdown/src/stdafx.h | 2 | ||||
-rw-r--r-- | plugins/AutoShutdown/src/utils.h | 2 | ||||
-rw-r--r-- | plugins/AutoShutdown/src/watcher.h | 2 |
8 files changed, 16 insertions, 0 deletions
diff --git a/plugins/AutoShutdown/src/cpuusage.h b/plugins/AutoShutdown/src/cpuusage.h index 681a2c8213..f10ead7d9e 100644 --- a/plugins/AutoShutdown/src/cpuusage.h +++ b/plugins/AutoShutdown/src/cpuusage.h @@ -19,6 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
/* Start Thread */
typedef BOOL (CALLBACK* CPUUSAGEAVAILPROC)(BYTE nCpuUsage,LPARAM lParam);
DWORD PollCpuUsage(CPUUSAGEAVAILPROC pfnDataAvailProc,LPARAM lParam,DWORD dwDelayMillis);
diff --git a/plugins/AutoShutdown/src/frame.h b/plugins/AutoShutdown/src/frame.h index 1b0bffdafd..e8f642bbe8 100644 --- a/plugins/AutoShutdown/src/frame.h +++ b/plugins/AutoShutdown/src/frame.h @@ -19,6 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
/* Show Frame */
void ShowCountdownFrame(WORD fTimeFlags);
void CloseCountdownFrame(void);
diff --git a/plugins/AutoShutdown/src/options.h b/plugins/AutoShutdown/src/options.h index 8b8e63f04f..d5e735f7f0 100644 --- a/plugins/AutoShutdown/src/options.h +++ b/plugins/AutoShutdown/src/options.h @@ -19,6 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
/* Misc */
void InitOptions(void);
void UninitOptions(void);
diff --git a/plugins/AutoShutdown/src/settingsdlg.h b/plugins/AutoShutdown/src/settingsdlg.h index 1521812f30..ec9846be55 100644 --- a/plugins/AutoShutdown/src/settingsdlg.h +++ b/plugins/AutoShutdown/src/settingsdlg.h @@ -19,6 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
/* Menu Item */
void SetShutdownMenuItem(bool fActive);
diff --git a/plugins/AutoShutdown/src/shutdownsvc.h b/plugins/AutoShutdown/src/shutdownsvc.h index 639d02a7fa..52afee5c57 100644 --- a/plugins/AutoShutdown/src/shutdownsvc.h +++ b/plugins/AutoShutdown/src/shutdownsvc.h @@ -19,6 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
/* Services */
INT_PTR ServiceShutdown(WPARAM wParam,LPARAM lParam);
INT_PTR ServiceIsTypeEnabled(WPARAM wParam,LPARAM lParam);
diff --git a/plugins/AutoShutdown/src/stdafx.h b/plugins/AutoShutdown/src/stdafx.h index be9415d830..716ee02ec9 100644 --- a/plugins/AutoShutdown/src/stdafx.h +++ b/plugins/AutoShutdown/src/stdafx.h @@ -19,6 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
#include <time.h> /* for mktime(),time() */
#include <windows.h>
#include <windowsx.h>
diff --git a/plugins/AutoShutdown/src/utils.h b/plugins/AutoShutdown/src/utils.h index d3ccaabae7..8ae39f0d9e 100644 --- a/plugins/AutoShutdown/src/utils.h +++ b/plugins/AutoShutdown/src/utils.h @@ -19,6 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
/* String */
WCHAR *a2u(const char *pszAnsi);
char *u2a(const WCHAR *pszUnicode);
diff --git a/plugins/AutoShutdown/src/watcher.h b/plugins/AutoShutdown/src/watcher.h index 157fc93bd1..0132a541dc 100644 --- a/plugins/AutoShutdown/src/watcher.h +++ b/plugins/AutoShutdown/src/watcher.h @@ -19,6 +19,8 @@ along with this program (Shutdown-License.txt); if not, write to the Free Softwa Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#pragma once
+
/* Services */
INT_PTR ServiceStartWatcher(WPARAM wParam,LPARAM lParam);
INT_PTR ServiceStopWatcher(WPARAM wParam,LPARAM lParam);
|