Commit 576cdfac authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

linux x64 doctrenderer

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@60581 954022d7-b5bf-4e40-9824-e11837661b57
parent 3bbf4495
......@@ -10,6 +10,15 @@ TARGET = doctrenderer
TEMPLATE = lib
CONFIG += staticlib
linux-g++ | linux-g++-64 | linux-g++-32 {
DEFINES += \
LINUX \
_LINUX \
_LINUX_QT \
UNICODE \
_UNICODE
}
INCLUDEPATH += \
../../../../../../../v8_trunk \
../../../../../../../v8_trunk/include \
......
......@@ -109,7 +109,7 @@ public:
}
public:
void getFileData(std::wstring& strFile, BYTE*& pData, DWORD& dwLen)
void getFileData(const std::wstring& strFile, BYTE*& pData, DWORD& dwLen)
{
NSFile::CFileBinary oFile;
oFile.OpenFile(strFile);
......@@ -138,7 +138,7 @@ public:
return m_strFileId;
}
void ConsoleLog(/*UTF8*/std::string& strVal)
void ConsoleLog(/*UTF8*/const std::string& strVal)
{
#if 1
FILE* f = fopen("C:/log.txt", "a+");
......
......@@ -6,6 +6,7 @@ int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
#if 1
std::wstring strXml = L"<Settings>\
<SrcFileType>0</SrcFileType>\
<DstFileType>0</DstFileType>\
......@@ -18,6 +19,20 @@ int main(int argc, char *argv[])
<Change>D:\\build_doc\\changes\\changes0.json</Change>\
</Changes>\
</Settings>";
#else
std::wstring strXml = L"<Settings>\
<SrcFileType>0</SrcFileType>\
<DstFileType>0</DstFileType>\
<SrcFilePath>/home/oleg/build_doc</SrcFilePath>\
<DstFilePath>/home/oleg/build_doc/EditorWithChanges.bin</DstFilePath>\
<FontsDirectory>/home/oleg/AVS/Sources/TeamlabOffice/trunk/OfficeWeb/Fonts/native</FontsDirectory>\
<ImagesDirectory>/home/oleg/build_doc/media</ImagesDirectory>\
<ThemesDirectory>/home/oleg/presentationthemes</ThemesDirectory>\
<Changes TopItem=\"-1\">\
<Change>/home/oleg/build_doc/changes/changes0.json</Change>\
</Changes>\
</Settings>";
#endif
NSDoctRenderer::CDoctrenderer oRenderer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment