aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-11-08 16:30:19 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-11-10 16:32:15 +0000
commitd3a62b2b7e1d12c485bfacfc89000a734fffb13b (patch)
tree2ed63ebfa0d4588987c3f8df463f5914e3c1ca36
parent0a82ab54b4b85948f1a8ad2ef4beeb3a314c7fe2 (diff)
downloadpaludis-d3a62b2b7e1d12c485bfacfc89000a734fffb13b.tar.gz
paludis-d3a62b2b7e1d12c485bfacfc89000a734fffb13b.tar.xz
Make options -fwdable
-rw-r--r--paludis/util/config_file-fwd.hh20
-rw-r--r--paludis/util/config_file.hh19
2 files changed, 20 insertions, 19 deletions
diff --git a/paludis/util/config_file-fwd.hh b/paludis/util/config_file-fwd.hh
index 9f0d286..ff5e190 100644
--- a/paludis/util/config_file-fwd.hh
+++ b/paludis/util/config_file-fwd.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008 Ciaran McCreesh
+ * Copyright (c) 2008, 2009 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -21,6 +21,7 @@
#define PALUDIS_GUARD_PALUDIS_UTIL_CONFIG_FILE_FWD_HH 1
#include <paludis/util/attributes.hh>
+#include <paludis/util/options-fwd.hh>
#include <iosfwd>
namespace paludis
@@ -29,6 +30,23 @@ namespace paludis
class KeyValueConfigFile;
class LineConfigFile;
+
+ /**
+ * Options for a LineConfigFile.
+ *
+ * \see LineConfigFileOption
+ * \see LineConfigFile
+ * \ingroup g_config_file
+ */
+ typedef Options<LineConfigFileOption> LineConfigFileOptions;
+
+ /**
+ * Options for a KeyValueConfigFileOptions.
+ *
+ * \see KeyValueConfigFileOption
+ * \see KeyValueConfigFile
+ */
+ typedef Options<KeyValueConfigFileOption> KeyValueConfigFileOptions;
}
#endif
diff --git a/paludis/util/config_file.hh b/paludis/util/config_file.hh
index 8920279..657b8f3 100644
--- a/paludis/util/config_file.hh
+++ b/paludis/util/config_file.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
+ * Copyright (c) 2006, 2007, 2008, 2009 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -139,15 +139,6 @@ namespace paludis
};
/**
- * Options for a LineConfigFile.
- *
- * \see LineConfigFileOption
- * \see LineConfigFile
- * \ingroup g_config_file
- */
- typedef Options<LineConfigFileOption> LineConfigFileOptions;
-
- /**
* A line-based configuration file.
*
* Various syntax options are available, and are controlled by LineConfigFileOptions:
@@ -187,14 +178,6 @@ namespace paludis
};
/**
- * Options for a KeyValueConfigFileOptions.
- *
- * \see KeyValueConfigFileOption
- * \see KeyValueConfigFile
- */
- typedef Options<KeyValueConfigFileOption> KeyValueConfigFileOptions;
-
- /**
* A key=value configuration file.
*
* Various syntax options are available, and are controlled by KeyValueConfigFileOptions: