mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@10271 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
87b5c34063
commit
c90c2bd839
4 changed files with 37 additions and 1 deletions
|
|
@ -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; };
|
||||
|
||||
|
|
|
|||
10
upptst/ReportTest2/ReportTest2.upp
Normal file
10
upptst/ReportTest2/ReportTest2.upp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
uses
|
||||
CtrlLib,
|
||||
Report;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI";
|
||||
|
||||
5
upptst/ReportTest2/init
Normal file
5
upptst/ReportTest2/init
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#ifndef _ReportTest2_icpp_init_stub
|
||||
#define _ReportTest2_icpp_init_stub
|
||||
#include "CtrlLib/init"
|
||||
#include "Report/init"
|
||||
#endif
|
||||
21
upptst/ReportTest2/main.cpp
Normal file
21
upptst/ReportTest2/main.cpp
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue