summaryrefslogtreecommitdiff
path: root/src/iofactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/iofactory.cc')
-rw-r--r--src/iofactory.cc22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/iofactory.cc b/src/iofactory.cc
index abe71b4..e58efdb 100644
--- a/src/iofactory.cc
+++ b/src/iofactory.cc
@@ -1,30 +1,26 @@
-/* --------------------------------------------------------------------
- * @file iofactory.cc
- * @brief Implementation of the IOFactory class.
- * @author Andreas Aardal Hanssen
- * @date 2002, 2003
- * ----------------------------------------------------------------- **/
+/**
+ * @file iofactory.cc
+ * @brief Implementation of the IOFactory class.
+ * @author Andreas Aardal Hanssen
+ * @date 2002, 2003
+ */
+
#include "iofactory.h"
#include "iodevice.h"
-using namespace ::Binc;
-using namespace ::std;
+using namespace Binc;
-//------------------------------------------------------------------------
IOFactory::IOFactory(void) {}
-//------------------------------------------------------------------------
IOFactory::~IOFactory(void) {}
-//------------------------------------------------------------------------
IOFactory &IOFactory::getInstance(void)
{
static IOFactory ioFactory;
return ioFactory;
}
-//------------------------------------------------------------------------
void IOFactory::addDevice(IODevice *dev)
{
IODevice *ioDevice = IOFactory::getInstance().devices[dev->service()];
@@ -36,7 +32,6 @@ void IOFactory::addDevice(IODevice *dev)
IOFactory::getInstance().devices[dev->service()] = dev;
}
-//------------------------------------------------------------------------
IODevice &IOFactory::getClient(void)
{
static IODevice nulDevice;
@@ -48,7 +43,6 @@ IODevice &IOFactory::getClient(void)
return nulDevice;
}
-//------------------------------------------------------------------------
IODevice &IOFactory::getLogger(void)
{
static IODevice nulDevice;