som: move som_type into namespace ue2

This commit is contained in:
Justin Viiret 2017-03-29 14:33:37 +11:00 committed by Matthew Barr
parent a4df49dd66
commit 7d23a7e2d3

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2015, Intel Corporation * Copyright (c) 2015-2017, Intel Corporation
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met: * modification, are permitted provided that the following conditions are met:
@ -26,17 +26,22 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
/** \file /**
* \file
* \brief Common SOM definitions. * \brief Common SOM definitions.
*/ */
#ifndef UE2_SOM_H #ifndef UE2_SOM_H
#define UE2_SOM_H #define UE2_SOM_H
namespace ue2 {
/** \brief Enumeration specifying a start of match behaviour. */ /** \brief Enumeration specifying a start of match behaviour. */
enum som_type { enum som_type {
SOM_NONE, //!< No SOM required SOM_NONE, //!< No SOM required
SOM_LEFT //!< Exact leftmost SOM SOM_LEFT //!< Exact leftmost SOM
}; };
} // namespace ue2
#endif // UE2_SOM_H #endif // UE2_SOM_H