home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 1102 / dPack.sis (.txt) < prev    next >
EPOC Installation Package  |  2001-09-15  |  30KB  |  521 lines

  1. Sysram1.sisPC_BAR.sisdPack.opo!:\system\opm\dPack.opmDisclaimer.txt
  2.  Ivo Woltring - dPack
  3. \epoc32\release\MARM\rel\Sysram1.opx!:\System\OPX\Sysram1.opxSysram1 OPX 
  4.  Symbian Ltdy
  5. Sound
  6. Z:\SYSTEM\PROGRAMS\.EXE
  7. ::Main
  8. ApMIME
  9. EUSER[100000c1].DLL
  10. OPLR[10000077].DLL
  11. APGRFX[1000011b].DLL
  12. BAFL[1000004e].DLL
  13. EDBMS[100000df].DLL
  14. EFSRV[100000bd].DLL
  15. CONE[1000004d].DLL
  16. APPARC[100000de].DLL
  17. APFILE[1000013f].DLL
  18. WS32[1000017d].DLL
  19. 000D0T0`0l0x0
  20. 0 ;$;,;\?`?
  21. 2$2P2
  22. 3,3034383<3@3D3H3L3P3T3X3\3`3d3h3l3p3t3x3|3
  23. 5$505<5H5T5`5l5x5
  24. 6 6,686D6P6\6h6t6
  25. 7(747@7L7X7d7p7|7
  26. 8$808<8H8T8`8l8x8
  27. 9 9,989D9P9\9h9t9
  28. D:\System\OPM\pc_bar.opm!:\System\OPM\PC_Bar.opmProgress bar OPM7
  29. $D:\Development\OPM\pc_bar\pc_bar.pre!
  30. PC_BAR_VERSION%
  31. Progress bar module
  32. 1999/2000 SymbianK(
  33. This module can only be usedO
  34. within an OPL applicationO
  35. _PC_FONTSIZE&
  36. REVOC[
  37. _PC_BAR_INITIALISE&    
  38. _PC_DESTROY_STRUCT
  39. O?8`[
  40. _PC_BAR_INITIALISE&    
  41. _PC_DESTROY_STRUCT
  42. _PC_IFREVO%
  43. _PC_BAR_INITIALISE&    
  44. _PC_COLOUR
  45. _PC_DESTROY_STRUCT
  46. _PC_DESTROY_STRUCT
  47. {IWCO
  48. _PC_DESTROY_STRUCT
  49. {IWCO
  50. _PC_DESTROY_STRUCT
  51. {IWCO
  52. _PC_COLOUR
  53. {IWCO
  54. {IWCO
  55. |VWB}O
  56. PC_MAIN9
  57. _PC_DESTROY_STRUCT
  58. _PC_BAR_INITIALISE&!
  59. _PC_FONTSIZE&
  60. _PC_COLOUR#
  61. _PC_IFREVO%_
  62. PC_FREEBAR&
  63.     PC_GIBAR&
  64. PC_ALERTBAR&
  65. PC_DESTROY_FREEBARt    
  66. PC_DESTROY_GIBAR
  67. PC_DESTROY_ALERTBAR.
  68. PC_BAR_UPDATE%
  69. PC_BAR_VERSION%t
  70. SYSTEM\
  71. c:\v1\dPack.opl
  72. DPACKVERSION$
  73. +5'dPack' is an OPM and not designed to run stand-aloneO
  74. Author (
  75. Ivo Woltring
  76. Version:S
  77. E-mail:+
  78. ivo.psion@hetnet.nl(
  79. ++dPack Procedures are called by applicationsO
  80. +6Use LOADM "dPack.opm" to make the Procedures availableO
  81. +"Select item for usage information:+=Pack:,UnPack%:,dPackVersion$:,dPackCallBack:,Used error codes
  82. CancelO
  83. `h+    ProcedureO
  84. informationKO
  85. +=Usage: Ratio = Pack:(FileIn$,FileOut$,ShowProgress%,UIDAddr&)
  86. +M       Packs FileIn$ to FileOut$ and returns the packing percentage to Ratio.
  87. Ratio
  88. +.* Floating point end percentage if succesfull.
  89. +@* Errorcode (<0.0) if error occurred or operation was cancelled.
  90. +B  Cancelling an operation is only possible when ShowProgress% = 2.
  91. ShowProgress%
  92. * 0 = no progress indicator
  93. + * 1 = default progress indicator
  94. +V* 2 = personalized progress indicator. This option need 'dPackCallback%:()' Procedure.
  95. +K      see 'dPackCallback%:' information for info on how to use this option.
  96. UIDAddr&
  97. +#* &0 = implement no UID information
  98. +N* If you do want to implement UID info, define a variable in your own app like
  99. +Q  'Global UID&(4)' and fill it with the appropriate uid header (4 long integers).
  100. +(  Then call Pack like this addr(UID&()).
  101. +N* NOTE: adding a epoc header costs you 16 bites. The header can not be packed.
  102. +BUsage: ret% = UnPack%:(FileIn$,FileOut$,ShowProgress%,WithHeader%)
  103. +=       UnPacks FileIn$ to FileOut$ and returns status to ret%
  104. * 0 if no error
  105. +A* errorcode (< 0) if error occurred or an operation was cancelled
  106. +B  Cancelling an operation is only possible when ShowProgress% = 2.
  107. ShowProgress%
  108. * 0 = no progress indicator
  109. + * 1 = default progress indicator
  110. +V* 2 = personalized progress indicator. This option need 'dPackCallback%:()' Procedure.
  111. +K      see 'dPackCallback%:' information for info on how to use this option.
  112. WithHeader%
  113. +U* Ktrue% if FileIn$ contains Epoc header info. UnPack will ignore the first 16 bytes.
  114. +2* KFalse% if FileIn$ contains no Epoc header info.
  115. Usage: ret$ = dPackVersion$:
  116. +T       'dPackVersion$:' returns the string representative of the OPM version to ret$
  117. +*Usefull when your app is version specific.
  118. +:Usage: When ShowProgress = 2 in either 'Pack' or 'UnPack'.
  119. +/* Define the following Proc in your own code...
  120. +:__________________________________________________________
  121. +.Proc dPackCallback%:(Progress&,ratio,PackInd%)
  122. +H   IF (PackInd% AND 1) > 0     REM *** If callback was called by 'Pack'.
  123. +'      rem Your Pack progress code here.
  124. +J   ELSEIF (PackInd% AND 2) > 0 REM *** If callback was called by 'UnPack'.
  125. +)      rem your UnPack Progress code here.
  126.    ENDIF
  127. +L   RETURN Ktrue%  REM Ktrue% continues operation; KFalse% cancels operation.
  128. +:__________________________________________________________
  129. +4Progress& = The Progress ratio INT(%) of the FileIn$
  130. +,            used in both 'Pack' and 'UnPack'
  131. +-Ratio     = The Pack ratio FLT(%) of FileOut$
  132. +$            Only returned by 'Pack'.
  133. ++PackInd%  = 1 if callback is done by 'Pack'
  134. +-            2 if callback is done by 'UnPack'
  135. Used error codes...
  136. +8The errorcodes below are codes that are used explicetly.
  137. +>Of course in extreme situations other codes will be generated.
  138. * 0   = No error
  139. * -2  = Invalid arguments
  140. * -10 = Underflow error
  141. * -20 = Corrupt
  142. * -33 = File does not exist
  143. * -35 = Read failed
  144. +D* -67 = User abandoned. (Generated if operation is canceled by user)
  145. PREFIX%
  146. SUFFIX%
  147. CODE%
  148. NEWENTRIES%
  149. NUMENTRIES%
  150. USED%
  151.     INBUFFER&
  152.     IADDRESS&
  153. IENDADDRESS&
  154. OUTBUFFER&
  155.     OADDRESS&
  156. OENDADDRESS&
  157.     CODESIZE%
  158. CURRENTBIT%
  159. CHAR&
  160.     BYTESOUT&
  161. SHIFT&
  162.     MAXCODES%
  163. INFILE$
  164.     HANDLEIN%
  165. OUTFILE$
  166. HANDLEOUT%
  167. FILELENGTH&
  168. CURRENTLOC&
  169. STARTCODE%
  170.     NEXTCODE%
  171. MAXCODE%
  172. PRINTCOUNTER&
  173. INDEX%
  174. FOUND%
  175. OFFSET%
  176. GETBYTE%
  177. SHOW%
  178. BYTESIN&
  179. PROGRESSBAR&
  180. PACKBAR&
  181. WINID%
  182. UIDADDR&
  183.     DOLZINIT%
  184. DOPACK%
  185. DOLZFINISH%
  186.     OPENFILE%
  187. CREATEFILE%
  188. WRITEHEADER
  189. CLEARTABLE
  190. OPM_LOADMODULE
  191. PC_FREEBAR&
  192. INFILE$
  193. FILELENGTH&
  194.     HANDLEIN%
  195. OUTFILE$
  196. HANDLEOUT%
  197. UIDADDR&
  198. SHIFT&
  199.     MAXCODES%
  200.     INBUFFER&
  201. OUTBUFFER&
  202.     OADDRESS&
  203. OENDADDRESS&
  204. CURRENTLOC&
  205. STARTCODE%
  206.     NEXTCODE%
  207. MAXCODE%
  208.     CODESIZE%
  209. CURRENTBIT%
  210. CHAR&
  211. SHOW%
  212. WINID%
  213. PROGRESSBAR&
  214. PACKBAR&
  215. .pckK
  216. pc_barO
  217. Progress...(
  218. +    Pack %...
  219. PC_DESTROY_FREEBAR
  220. OPM_UNLOADMODULE
  221.     INBUFFER&
  222. OUTBUFFER&
  223. HANDLEOUT%
  224.     HANDLEIN%
  225. SHOW%
  226. PROGRESSBAR&
  227. PACKBAR&
  228. WINID%
  229. pc_barO
  230. GETBYTE
  231. PUTCODE
  232. PC_BAR_UPDATE%
  233. DPACKCALLBACK%
  234. REBUILDTABLE
  235. CLEARTABLE
  236. GETBYTE%
  237. SHOW%
  238. WINID%
  239. CURRENTLOC&
  240. FILELENGTH&
  241. HANDLEOUT%
  242. OUTBUFFER&
  243.     OADDRESS&
  244. PACKBAR&
  245. OUTFILE$
  246. PROGRESSBAR&
  247. INDEX%
  248. FOUND%
  249. CODE%
  250. USED%
  251. PREFIX%
  252. SUFFIX%
  253.     NEXTCODE%
  254. NEWENTRIES%
  255. STARTCODE%
  256.     CODESIZE%
  257. MAXCODE%
  258. PRINTCOUNTER&
  259.     BYTESOUT&
  260. Od{Od{
  261. Od{A[P
  262. Od{Od{    
  263. Od{    j
  264. Od{A[Y
  265. Od{    j
  266. +BdPackCallback%:(Progress&,ratio,PackInd%) not (correctly) defined!
  267. +:ShowProgress indicator set to zero%; Pack will continue...
  268. FOUND%
  269. INDEX%
  270. OFFSET%
  271. CODE%
  272. PREFIX%
  273. SUFFIX%
  274. Hash:
  275. NEWENTRIES%
  276. NUMENTRIES%
  277. CODE%
  278. USED%
  279. PREFIX%
  280. SUFFIX%
  281. STARTCODE%
  282. INDEX%
  283. 8@9[Q
  284. PREFIX%
  285. SUFFIX%
  286. OUTCODE%
  287. USED%
  288. >f    INBUFFER&
  289.     IADDRESS&
  290. IENDADDRESS&
  291. OUTBUFFER&
  292.     OADDRESS&
  293. OENDADDRESS&
  294. INFILE$
  295. OUTFILE$
  296.     HANDLEIN%
  297. HANDLEOUT%
  298. BYTESIN&
  299. FILELENGTH&
  300. SHOW%
  301. POWERS%
  302. LONGPOWERS&
  303. MASKS%
  304.     CODESIZE%
  305.     TEMPCHAR%
  306.     BITSLEFT%
  307.     FREECODE%
  308. STARTCODE%
  309. CODE%
  310. CURCODE%
  311. OLDCODE%
  312. FINCHAR%
  313. NEWENTRIES%
  314. IGNORENEXT%
  315. INCODE%
  316.     OUTCOUNT%
  317. GETBIT%
  318. GETBYTE%
  319. GETDATA%
  320. GETCODE%
  321. PROGRESSBAR&
  322. EPOCHEADER%
  323.     DELZINIT%
  324.     DOUNPACK%
  325. DELZFINISH%
  326. RAISETOPOWER&
  327.     OPENFILE%
  328. CREATEFILE%
  329. GETCODE
  330. PUTBYTE
  331. OPM_LOADMODULE
  332. PC_ALERTBAR&
  333. INFILE$
  334. OUTFILE$
  335. POWERS%
  336. LONGPOWERS&
  337. MASKS%
  338.     INBUFFER&
  339. OUTBUFFER&
  340.     OADDRESS&
  341. OENDADDRESS&
  342. BYTESIN&
  343.     HANDLEIN%
  344. EPOCHEADER%
  345. HANDLEOUT%
  346.     FREECODE%
  347. STARTCODE%
  348.     CODESIZE%
  349. CODE%
  350. GETCODE%
  351. CURCODE%
  352. OLDCODE%
  353. FINCHAR%
  354. FILELENGTH&
  355. SHOW%
  356. PROGRESSBAR&
  357. .pckC[
  358. .pckC[
  359. pc_barO
  360. UnPacking...O
  361. PC_DESTROY_ALERTBAR
  362. OPM_UNLOADMODULE
  363.     INBUFFER&
  364. OUTBUFFER&
  365. HANDLEOUT%
  366.     HANDLEIN%
  367. SHOW%
  368. PROGRESSBAR&
  369. pc-barO
  370. PC_BAR_UPDATE%
  371. DPACKCALLBACK%
  372. GETCODE
  373. DELZREBUILDTABLE
  374. GETCODE%
  375. PUTBYTE
  376. SHOW%
  377. PROGRESSBAR&
  378. BYTESIN&
  379. FILELENGTH&
  380. CODE%
  381. GETCODE%
  382. HANDLEOUT%
  383. OUTBUFFER&
  384.     OADDRESS&
  385.     CODESIZE%
  386. NEWENTRIES%
  387.     FREECODE%
  388. STARTCODE%
  389. CURCODE%
  390. OLDCODE%
  391. FINCHAR%
  392. IGNORENEXT%
  393. INCODE%
  394. USED%
  395. OUTCODE%
  396.     OUTCOUNT%
  397. SUFFIX%
  398. PREFIX%
  399. Od@[ 
  400. Od{    d
  401. Od@[6
  402. Od{    d
  403. +BdPackCallback%:(Progress&,ratio,PackInd%) not (correctly) defined!
  404. +<ShowProgress indicator set to zero%; UnPack will continue...
  405. NEWENTRIES%
  406. STARTCODE%
  407. USED%
  408. PREFIX%
  409. SUFFIX%
  410. ,@9[Q
  411. PREFIX%
  412. SUFFIX%
  413. CODE%
  414. GETBYTE
  415.     BITSLEFT%
  416.     TEMPCHAR%
  417. GETBYTE%
  418. GETBIT%
  419. POWERS%
  420.     OADDRESS&
  421. OENDADDRESS&
  422. HANDLEOUT%
  423. OUTBUFFER&
  424.     IADDRESS&
  425. IENDADDRESS&
  426.     HANDLEIN%
  427.     INBUFFER&
  428. GETBYTE%
  429. BYTESIN&
  430. PUTDATA
  431. PUTCODE
  432. MAXCODE%
  433.     CODESIZE%
  434.     MAXCODES%
  435. GETBIT
  436. GETDATA
  437. GETBIT%
  438.     CODESIZE%
  439. GETCODE%
  440. GETDATA%
  441. PUTBYTE
  442. CHAR&
  443. SHIFT&
  444. CURRENTBIT%
  445. GETBYTE
  446.     BITSLEFT%
  447.     TEMPCHAR%
  448. GETBYTE%
  449. POWERS%
  450. LONGPOWERS&
  451. GETDATA%
  452. MASKS%
  453. OPM_FILELOC$
  454. \System\OPM\
  455. .OPMKO
  456. Cannot find the OPM:+
  457. \System\OPM\
  458. .OPMKW8
  459. OPM_FILELOC$
  460. \System\OPM\
  461. .OPMKO
  462. DPACKUSAGE$
  463. DPACKVERSION$
  464.     DOLZINIT%
  465. DOLZFINISH%
  466. DOPACK%
  467. REBUILDTABLE
  468. UNPACK%g 
  469.     DELZINIT%D#
  470. DELZFINISH%
  471.     DOUNPACK%
  472. DELZREBUILDTABLE
  473. RAISETOPOWER&t/
  474.     OPENFILE%
  475. CREATEFILE%]0
  476. WRITEHEADER
  477. CLOSEFILE%
  478. CLEARTABLEB1
  479. GETBIT
  480. PUTBYTEl2
  481. GETBYTE
  482. PUTCODE
  483. GETCODE~4
  484. PUTDATA
  485. GETDATA
  486. OPM_FILELOC$
  487. OPM_LOADMODULE77
  488. OPM_UNLOADMODULE
  489. SYSTEM\
  490. SYSRAM1
  491. LICENCE AGREEMENT
  492. YOU SHOULD CAREFULLY READ THE FOLLOWING 
  493. LICENCE AGREEMENT BEFORE INSTALLING THIS 
  494. SOFTWARE PROGRAM. BY INSTALLING, COPYING, 
  495. OR OTHERWISE USING THE SOFTWARE PROGRAM, 
  496. YOU AGREE TO BE BOUND BY THE TERMS OF 
  497. THIS AGREEMENT. IF YOU DO NOT AGREE TO 
  498. THE TERMS OF THIS AGREEMENT, TAP NO.
  499. Ivo Woltring (called "the author" in this agreement) hereby grants 
  500. you, and by using the software you accept, a limited licence 
  501. subject to the terms and conditions contained hereinto the use 
  502. of the software in this package, (called "the Software" in this agreement). 
  503. You may install the software on an unlimited number of machines, 
  504. no payment is required for its use. Written permission must be 
  505. obtained from the author if you wish to distribute the Software 
  506. on the Internet, on CD, or by any other means.
  507. You acknowledge the rights to the Software are the sole and 
  508. exclusive property of the author. By accepting this agreement,
  509. you do not become the owner of the Software in accordance with 
  510. this agreement. 
  511. The software including all related program files may not be 
  512. altered inany way. Reverse translation is expressly forbidden.
  513. The author cannot and does not accept any liability for the 
  514. unlikely event of an error, defect or failure of the software 
  515. including any loss of anykind. No guarantee is either offered 
  516. or implied by the author. 
  517. Use of this software is entirely at your own risk.
  518. Yours sincerely,
  519. the author.
  520. ivo.psion@hetnet.nl
  521.