git-svn-id: svn://ultimatepp.org/upp/trunk@10271 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-10-04 11:27:00 +00:00
parent 87b5c34063
commit c90c2bd839
4 changed files with 37 additions and 1 deletions

View file

@ -9,7 +9,7 @@ CONSOLE_APP_MAIN
StdLogSetup(LOG_COUT|LOG_FILE);
String data = LoadFile("C:/xxx/xxx/upp-x11-src-9041.tar");
EventGate<int64, int64> cp, dp;
Gate<int64, int64> cp, dp;
cp << [](int64 pos, int64 size) -> bool { DLOG("Compress: " << pos << " " << size); return false; };
dp << [](int64 pos, int64 size) -> bool { DLOG("DeCompress: " << pos << " " << size); return false; };

View file

@ -0,0 +1,10 @@
uses
CtrlLib,
Report;
file
main.cpp;
mainconfig
"" = "GUI";

5
upptst/ReportTest2/init Normal file
View file

@ -0,0 +1,5 @@
#ifndef _ReportTest2_icpp_init_stub
#define _ReportTest2_icpp_init_stub
#include "CtrlLib/init"
#include "Report/init"
#endif

View file

@ -0,0 +1,21 @@
#include <Report/Report.h>
using namespace Upp;
GUI_APP_MAIN
{
Report r;
static const String sDotLine = "}}&[A+1H8;h(255.50.25)L1 &]{{25:10:10:10:10:10~a0";
static const String sLine = "}}&[A+1H8;h(255.50.25) &]{{25:10:10:10:10:10~a0";
String qtf2;
qtf2 << "[A+59 {{25:10:10:10:10:10~a0 "
<< "[@(255.50.25)* [ KLÍČOVÉ SLOVO]:: [> ZOBRAZENÍ]:: [> KLIKY]:: [> CTR]:: "
<< "[> CENA]:: [> CPC]]"
<< sLine << ' ';
qtf2 << "]" << sDotLine << ' ' << "}}";
r << "^^" + qtf2 + "^^next page^^nextpage";
Perform(r);
}