summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown/src/cpuusage.h
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 /plugins/AutoShutdown/src/cpuusage.h
parent1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (diff)
guard headers
Diffstat (limited to 'plugins/AutoShutdown/src/cpuusage.h')
-rw-r--r--plugins/AutoShutdown/src/cpuusage.h2
1 files changed, 2 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);