1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-10-19 17:09:25 +00:00

Change namespace in machinery to mchlib.

This commit is contained in:
King_DuckZ 2016-01-05 12:49:27 +00:00
commit f5356e0c29
18 changed files with 50 additions and 48 deletions

View file

@ -40,7 +40,7 @@ namespace dinlib {
struct Settings;
} //namespace dinlib
namespace din {
namespace mchlib {
struct FileRecordData;
class Indexer {
@ -72,6 +72,6 @@ namespace din {
std::unique_ptr<LocalData> m_local_data;
};
} //namespace din
} //namespace mchlib
#endif

View file

@ -22,7 +22,7 @@
#include <stdexcept>
#include "dindexer-common/mediatypes.hpp"
namespace din {
namespace mchlib {
#if defined(WITH_MEDIA_AUTODETECT)
dinlib::MediaTypes guess_media_type ( std::string&& parPath );
@ -38,6 +38,6 @@ namespace din {
CantAutodetectException ( const char* parWhat );
};
#endif
} //namespace din
} //namespace mchlib
#endif

View file

@ -26,7 +26,7 @@
#include <boost/flyweight.hpp>
#include <boost/flyweight/no_locking.hpp>
namespace din {
namespace mchlib {
struct FileRecordData {
struct MimeStringTagStruct { };
typedef boost::flyweights::tag<MimeStringTagStruct> MimeStringTag;
@ -81,6 +81,6 @@ namespace din {
const boost::string_ref name;
const char type;
};
} //namespace din
} //namespace mchlib
#endif

View file

@ -22,7 +22,7 @@
#include <string>
#include <vector>
namespace din {
namespace mchlib {
struct TigerHash {
TigerHash ( void ) = default;
@ -44,6 +44,6 @@ namespace din {
std::string tiger_to_string ( const TigerHash& parHash, bool parUpcase=false );
void tiger_data ( const std::string& parData, TigerHash& parHash );
void tiger_data ( const std::vector<char>& parData, TigerHash& parHash );
} //namespace din
} //namespace mchlib
#endif