mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
remove all Moses headers
This commit is contained in:
parent
a6ba68148b
commit
3b65dc39a7
@ -982,6 +982,11 @@
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-3-PROJECT_LOC/moses2/legacy/gzfilebuf.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>legacy/xmlrpc-c.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-3-PROJECT_LOC/moses2/legacy/xmlrpc-c.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>parameters/AllOptions.cpp</name>
|
||||
<type>1</type>
|
||||
|
@ -17,6 +17,15 @@
|
||||
namespace Moses2
|
||||
{
|
||||
|
||||
#ifdef TRACE_ERR
|
||||
#undef TRACE_ERR
|
||||
#endif
|
||||
#ifdef TRACE_ENABLE
|
||||
#define TRACE_ERR(str) do { std::cerr << str; } while (false)
|
||||
#else
|
||||
#define TRACE_ERR(str) do {} while (false)
|
||||
#endif
|
||||
|
||||
template<typename T>
|
||||
class UnorderedComparer
|
||||
{
|
||||
|
10
moses2/legacy/xmlrpc-c.h
Normal file
10
moses2/legacy/xmlrpc-c.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef HAVE_XMLRPC_C
|
||||
#include <xmlrpc-c/base.hpp>
|
||||
#else
|
||||
namespace xmlrpc_c
|
||||
{
|
||||
class value;
|
||||
}
|
||||
#endif
|
@ -1,5 +1,6 @@
|
||||
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
||||
#include "../legacy/Parameter.h"
|
||||
#include "../legacy/Util2.h"
|
||||
#include "AllOptions.h"
|
||||
|
||||
namespace Moses2
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include "ContextParameters.h"
|
||||
#include "moses/Util.h"
|
||||
#include "../legacy/Parameter.h"
|
||||
|
||||
namespace Moses2
|
||||
|
@ -1,8 +1,6 @@
|
||||
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include "moses/TypeDef.h"
|
||||
#include "moses/Util.h"
|
||||
#include "OptionsBaseClass.h"
|
||||
|
||||
namespace Moses2
|
||||
|
@ -2,8 +2,6 @@
|
||||
#include "InputOptions.h"
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
// #include "moses/StaticData.h"
|
||||
#include "moses/TypeDef.h"
|
||||
#include "../legacy/Parameter.h"
|
||||
|
||||
namespace Moses2
|
||||
|
@ -2,8 +2,6 @@
|
||||
#include "OOVHandlingOptions.h"
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include "moses/StaticData.h"
|
||||
#include "moses/TypeDef.h"
|
||||
#include "../legacy/Parameter.h"
|
||||
|
||||
namespace Moses2
|
||||
|
@ -1,6 +1,5 @@
|
||||
// -*- mode: c++; indent-tabs-mode: nil; tab-width:2 -*-
|
||||
#include "OptionsBaseClass.h"
|
||||
#include "moses/Util.h"
|
||||
#include "../legacy/Parameter.h"
|
||||
|
||||
namespace Moses2
|
||||
|
@ -1,6 +1,6 @@
|
||||
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
||||
#pragma once
|
||||
#include "moses/xmlrpc-c.h"
|
||||
#include "../legacy/xmlrpc-c.h"
|
||||
#include <string>
|
||||
#include <map>
|
||||
namespace Moses2
|
||||
|
Loading…
Reference in New Issue
Block a user