summaryrefslogtreecommitdiff
path: root/server/src/log.h
diff options
context:
space:
mode:
authordeva <deva>2007-08-22 10:25:43 +0000
committerdeva <deva>2007-08-22 10:25:43 +0000
commit9591262f6204c31f622f57be28b3d727470e2fce (patch)
tree44d30e067bfa1ff7af21b080e8294aa76f578a09 /server/src/log.h
parent47750e70ba9171c10e32a1033b68ae2b614799fa (diff)
Dummy server created.
Diffstat (limited to 'server/src/log.h')
-rw-r--r--server/src/log.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/server/src/log.h b/server/src/log.h
new file mode 100644
index 0000000..e1c1be0
--- /dev/null
+++ b/server/src/log.h
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/***************************************************************************
+ * log.h
+ *
+ * Tue Oct 24 17:44:46 CEST 2006
+ * Copyright 2006 Bent Bisballe Nyeng
+ * deva@aasimon.org
+ ****************************************************************************/
+
+/*
+ * This file is part of Artefact.
+ *
+ * Artefact is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Artefact is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Artefact; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+#ifndef __ARTEFACT_LOG_H__
+#define __ARTEFACT_LOG_H__
+
+#include <string>
+
+namespace Pentominos {
+ /**
+ * log appends a message to the syslog queue.\n
+ * @param message An STL string containing the string to be appended.
+ */
+ void log(std::string message);
+};
+
+#endif/*__ARTEFACT_LOG_H__*/