summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-02 18:15:36 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-02 18:15:36 +0100
commit3967bd6a07b436a6b2eb8d0f8f634fdc11689c75 (patch)
treeca432bf84a965a460f6df9433ff3821aced48665 /src/lib
parent528c48e4e9d38b4fe267d0a975b6bf32d969c211 (diff)
Comments.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cross.cc2
-rw-r--r--src/lib/cross.h10
2 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index 8785553cb..eadbd75d8 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/src/lib/cross.h b/src/lib/cross.h
index 1c7754503..c206fa55d 100644
--- a/src/lib/cross.h
+++ b/src/lib/cross.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -17,6 +17,10 @@
*/
+/** @file src/lib/cross.h
+ * @brief Cross-platform compatibility code.
+ */
+
#ifndef DCPOMATIC_CROSS_H
#define DCPOMATIC_CROSS_H
@@ -42,7 +46,9 @@ extern boost::filesystem::path app_contents ();
extern FILE * fopen_boost (boost::filesystem::path, std::string);
extern int dcpomatic_fseek (FILE *, int64_t, int);
-/** A class which tries to keep the computer awake on various operating systems.
+/** @class Waker
+ * @brief A class which tries to keep the computer awake on various operating systems.
+ *
* Create a Waker to prevent sleep, and call ::nudge every so often (every minute or so).
* Destroy the Waker to allow sleep again.
*/