---
scribo/ChangeLog | 4 +++
.../src/process_args.hh => core/def/lbl_type.hh} | 23 ++++++++++---------
2 files changed, 16 insertions(+), 11 deletions(-)
copy scribo/{demo/demat/src/process_args.hh => core/def/lbl_type.hh} (82%)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index a4e2373..b682f14 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,9 @@
2010-05-25 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * core/def/lbl_type.hh: Introduce a global label type.
+
+2010-05-25 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Improve line detection.
* primitive/extract/lines_h_pattern.hh,
diff --git a/scribo/demo/demat/src/process_args.hh b/scribo/core/def/lbl_type.hh
similarity index 82%
copy from scribo/demo/demat/src/process_args.hh
copy to scribo/core/def/lbl_type.hh
index 5ca72cf..6434bbe 100644
--- a/scribo/demo/demat/src/process_args.hh
+++ b/scribo/core/def/lbl_type.hh
@@ -23,25 +23,26 @@
// exception does not however invalidate any other reasons why the
// executable file might be covered by the GNU General Public License.
-#ifndef SCRIBO_DEMO_SHARED_SRC_PROCESS_ARGS_HH
-# define SCRIBO_DEMO_SHARED_SRC_PROCESS_ARGS_HH
+#ifndef SCRIBO_CORE_LBL_TYPE_HH
+# define SCRIBO_CORE_LBL_TYPE_HH
+
+/// \file
+///
+/// Global type definition for labels.
+
+# include <mln/value/label.hh>
namespace scribo
{
- namespace demo
+ namespace def
{
- struct process_args
- {
- unsigned scale;
- };
+ typedef mln::value::label<30u> lbl_type;
-
- } // end of namespace scribo::demo
+ } // end of namespace scribo::def
} // end of namespace scribo
-
-#endif // !SCRIBO_DEMO_SHARED_SRC_PROCESS_ARGS_HH
+#endif // ! SCRIBO_CORE_DEF_HH
--
1.5.6.5