/usr/share/gtk-doc/html/libinfinity-0.5/InfAdoptedRequestLog.html is in libinfinity-0.5-doc 0.5.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfAdoptedRequestLog</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="libinfinity-0.5 Reference Manual">
<link rel="up" href="ch03.html" title="Libinfinity's adOPTed implementation">
<link rel="prev" href="InfAdoptedAlgorithm.html" title="InfAdoptedAlgorithm">
<link rel="next" href="InfAdoptedRequest.html" title="InfAdoptedRequest">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="InfAdoptedAlgorithm.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfinity-0.5 Reference Manual</th>
<td><a accesskey="n" href="InfAdoptedRequest.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfAdoptedRequestLog.synopsis" class="shortcut">Top</a>
|
<a href="#InfAdoptedRequestLog.description" class="shortcut">Description</a>
|
<a href="#InfAdoptedRequestLog.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#InfAdoptedRequestLog.properties" class="shortcut">Properties</a>
|
<a href="#InfAdoptedRequestLog.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="InfAdoptedRequestLog"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfAdoptedRequestLog.top_of_page"></a>InfAdoptedRequestLog</span></h2>
<p>InfAdoptedRequestLog — History of requests</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="InfAdoptedRequestLog.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="InfAdoptedRequestLog.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libinfinity/adopted/inf-adopted-request-log.h>
<a class="link" href="InfAdoptedRequestLog.html#InfAdoptedRequestLog-struct" title="InfAdoptedRequestLog">InfAdoptedRequestLog</a>;
struct <a class="link" href="InfAdoptedRequestLog.html#InfAdoptedRequestLogClass" title="struct InfAdoptedRequestLogClass">InfAdoptedRequestLogClass</a>;
<a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="returnvalue">InfAdoptedRequestLog</span></a> * <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-new" title="inf_adopted_request_log_new ()">inf_adopted_request_log_new</a> (<em class="parameter"><code><span class="type">guint</span> user_id</code></em>);
<span class="returnvalue">guint</span> <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-user-id" title="inf_adopted_request_log_get_user_id ()">inf_adopted_request_log_get_user_id</a> (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);
<span class="returnvalue">guint</span> <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-begin" title="inf_adopted_request_log_get_begin ()">inf_adopted_request_log_get_begin</a> (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);
<span class="returnvalue">guint</span> <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-end" title="inf_adopted_request_log_get_end ()">inf_adopted_request_log_get_end</a> (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-is-empty" title="inf_adopted_request_log_is_empty ()">inf_adopted_request_log_is_empty</a> (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);
<span class="returnvalue">void</span> <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-set-begin" title="inf_adopted_request_log_set_begin ()">inf_adopted_request_log_set_begin</a> (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> n</code></em>);
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-request" title="inf_adopted_request_log_get_request ()">inf_adopted_request_log_get_request</a> (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> n</code></em>);
<span class="returnvalue">void</span> <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-add-request" title="inf_adopted_request_log_add_request ()">inf_adopted_request_log_add_request</a> (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> *request</code></em>);
<span class="returnvalue">void</span> <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-remove-requests" title="inf_adopted_request_log_remove_requests ()">inf_adopted_request_log_remove_requests</a>
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> up_to</code></em>);
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-next-associated" title="inf_adopted_request_log_next_associated ()">inf_adopted_request_log_next_associated</a>
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> *request</code></em>);
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-prev-associated" title="inf_adopted_request_log_prev_associated ()">inf_adopted_request_log_prev_associated</a>
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> *request</code></em>);
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-original-request" title="inf_adopted_request_log_original_request ()">inf_adopted_request_log_original_request</a>
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> *request</code></em>);
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-next-undo" title="inf_adopted_request_log_next_undo ()">inf_adopted_request_log_next_undo</a> (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-next-redo" title="inf_adopted_request_log_next_redo ()">inf_adopted_request_log_next_redo</a> (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-upper-related" title="inf_adopted_request_log_upper_related ()">inf_adopted_request_log_upper_related</a>
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> n</code></em>);
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-lower-related" title="inf_adopted_request_log_lower_related ()">inf_adopted_request_log_lower_related</a>
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> n</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="InfAdoptedRequestLog.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----InfAdoptedRequestLog
</pre>
</div>
<div class="refsect1">
<a name="InfAdoptedRequestLog.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="InfAdoptedRequestLog.html#InfAdoptedRequestLog--begin" title='The "begin" property'>begin</a>" <span class="type">guint</span> : Read / Write / Construct Only
"<a class="link" href="InfAdoptedRequestLog.html#InfAdoptedRequestLog--end" title='The "end" property'>end</a>" <span class="type">guint</span> : Read
"<a class="link" href="InfAdoptedRequestLog.html#InfAdoptedRequestLog--next-redo" title='The "next-redo" property'>next-redo</a>" <a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a>* : Read
"<a class="link" href="InfAdoptedRequestLog.html#InfAdoptedRequestLog--next-undo" title='The "next-undo" property'>next-undo</a>" <a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a>* : Read
"<a class="link" href="InfAdoptedRequestLog.html#InfAdoptedRequestLog--user-id" title='The "user-id" property'>user-id</a>" <span class="type">guint</span> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1">
<a name="InfAdoptedRequestLog.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="InfAdoptedRequestLog.html#InfAdoptedRequestLog-add-request" title='The "add-request" signal'>add-request</a>" : <code class="literal">Run Last</code>
</pre>
</div>
<div class="refsect1">
<a name="InfAdoptedRequestLog.description"></a><h2>Description</h2>
<p>
<a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> stores all requests by a particular user. These need
to be looked up by <a class="link" href="InfAdoptedAlgorithm.html" title="InfAdoptedAlgorithm"><span class="type">InfAdoptedAlgorithm</span></a> to perform transformations of
older requests to the current state. It also adds relations between the
requests so that is easy to find the request that an Undo request undoes,
or the Undo request undoing a given request, if available.
</p>
<p>
When requests are no longer needed, then they can also be removed again
from the log, however requests can only be removed so that remaining Undo
or Redo requests do not refer to some request that is about to be removed.
</p>
</div>
<div class="refsect1">
<a name="InfAdoptedRequestLog.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="InfAdoptedRequestLog-struct"></a><h3>InfAdoptedRequestLog</h3>
<pre class="programlisting">typedef struct _InfAdoptedRequestLog InfAdoptedRequestLog;</pre>
<p>
<a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> is an opaque data type. You should only access it via
the public API functions.
</p>
</div>
<hr>
<div class="refsect2">
<a name="InfAdoptedRequestLogClass"></a><h3>struct InfAdoptedRequestLogClass</h3>
<pre class="programlisting">struct InfAdoptedRequestLogClass {
void(*add_request)(InfAdoptedRequestLog* request_log,
InfAdoptedRequest* request);
};
</pre>
<p>
This structure contains the default signal handlers for
<a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="structfield"><code><a name="InfAdoptedRequestLogClass.add-request"></a>add_request</code></em> ()</span></p></td>
<td>Default signal handler for the
<a class="link" href="InfAdoptedRequestLog.html#InfAdoptedRequestLog-add-request" title='The "add-request" signal'><span class="type">"add-request"</span></a> signal.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-new"></a><h3>inf_adopted_request_log_new ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="returnvalue">InfAdoptedRequestLog</span></a> * inf_adopted_request_log_new (<em class="parameter"><code><span class="type">guint</span> user_id</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_id</code></em> :</span></p></td>
<td>The ID of the <a class="link" href="InfAdoptedUser.html" title="InfAdoptedUser"><span class="type">InfAdoptedUser</span></a> to create a request log for. The
request log only contains requests of that particular user.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-get-user-id"></a><h3>inf_adopted_request_log_get_user_id ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> inf_adopted_request_log_get_user_id (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);</pre>
<p>
Returns the ID of the user whose requests <em class="parameter"><code>log</code></em> contains.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The log's user ID.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-get-begin"></a><h3>inf_adopted_request_log_get_begin ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> inf_adopted_request_log_get_begin (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);</pre>
<p>
Returns the first index (i.e. the index of the oldest request) in the log.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The first index in the log.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-get-end"></a><h3>inf_adopted_request_log_get_end ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> inf_adopted_request_log_get_end (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);</pre>
<p>
Returns the index a newly inserted request would have (i.e. one past the
index of the newest request in the log). This ensures that
<a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-end" title="inf_adopted_request_log_get_end ()"><code class="function">inf_adopted_request_log_get_end()</code></a> - <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-begin" title="inf_adopted_request_log_get_begin ()"><code class="function">inf_adopted_request_log_get_begin()</code></a>
reveals the number of requests in the log.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The index of the next request in the log.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-is-empty"></a><h3>inf_adopted_request_log_is_empty ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> inf_adopted_request_log_is_empty (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);</pre>
<p>
Returns whether <em class="parameter"><code>log</code></em> is empty. A log is empty if it does not contain any
requsets.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Whether <em class="parameter"><code>log</code></em> is empty.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-set-begin"></a><h3>inf_adopted_request_log_set_begin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> inf_adopted_request_log_set_begin (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> n</code></em>);</pre>
<p>
This function sets the index of the first log that will be added to <em class="parameter"><code>log</code></em>.
For a new request log, this is set to 0. If you intend to insert a request
sequence into <em class="parameter"><code>log</code></em> that does not start with 0, then you can call this
function with the desired start index, so that
<a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-begin" title="inf_adopted_request_log_get_begin ()"><code class="function">inf_adopted_request_log_get_begin()</code></a> and <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-end" title="inf_adopted_request_log_get_end ()"><code class="function">inf_adopted_request_log_get_end()</code></a>
return the correct value.
</p>
<p>
If you don't need <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-begin" title="inf_adopted_request_log_get_begin ()"><code class="function">inf_adopted_request_log_get_begin()</code></a> or
<a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-end" title="inf_adopted_request_log_get_end ()"><code class="function">inf_adopted_request_log_get_end()</code></a> before adding the first request to the
log, then you don't need to call this function, since
<a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-add-request" title="inf_adopted_request_log_add_request ()"><code class="function">inf_adopted_request_log_add_request()</code></a> will do it implicitely based on the
request's vector time component for the request log's user.
</p>
<p>
This function can only be called if the request log is empty, see
<a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-is-empty" title="inf_adopted_request_log_is_empty ()"><code class="function">inf_adopted_request_log_is_empty()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
<td>The index of the first request to be added to the log.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-get-request"></a><h3>inf_adopted_request_log_get_request ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * inf_adopted_request_log_get_request (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> n</code></em>);</pre>
<p>
Returns the request with the given index. Such a request must exist in
<em class="parameter"><code>log</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
<td>The index of a request contained in <em class="parameter"><code>log</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a>. The request is owned by the request
log, you do not need to free it.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-add-request"></a><h3>inf_adopted_request_log_add_request ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> inf_adopted_request_log_add_request (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> *request</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-remove-requests"></a><h3>inf_adopted_request_log_remove_requests ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> inf_adopted_request_log_remove_requests
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> up_to</code></em>);</pre>
<p>
Removes all requests with index lower than <em class="parameter"><code>up_to</code></em>. This function only works
if the request before <em class="parameter"><code>up_to</code></em> is an "upper related" request.
See <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-upper-related" title="inf_adopted_request_log_upper_related ()"><code class="function">inf_adopted_request_log_upper_related()</code></a>. This condition guarantees
that remaining requests do not refer to removed ones.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>up_to</code></em> :</span></p></td>
<td>The index of the first request not to remove.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-next-associated"></a><h3>inf_adopted_request_log_next_associated ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * inf_adopted_request_log_next_associated
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> *request</code></em>);</pre>
<p>
If <em class="parameter"><code>request</code></em> is of type <a class="link" href="InfAdoptedRequest.html#INF-ADOPTED-REQUEST-DO:CAPS"><code class="literal">INF_ADOPTED_REQUEST_DO</code></a> or
<a class="link" href="InfAdoptedRequest.html#INF-ADOPTED-REQUEST-REDO:CAPS"><code class="literal">INF_ADOPTED_REQUEST_REDO</code></a>, this returns UNDO request that undoes this
request, if any. If <em class="parameter"><code>request</code></em> is a <code class="literal">INF_ADOPTED_REQUEST</code> UNDO request, this
returns a request that redoes <em class="parameter"><code>request</code></em>, if any.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> contained in <em class="parameter"><code>log</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The next associated request of <em class="parameter"><code>request</code></em>, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-prev-associated"></a><h3>inf_adopted_request_log_prev_associated ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * inf_adopted_request_log_prev_associated
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> *request</code></em>);</pre>
<p>
If <em class="parameter"><code>request</code></em> is of type <a class="link" href="InfAdoptedRequest.html#INF-ADOPTED-REQUEST-REDO:CAPS"><code class="literal">INF_ADOPTED_REQUEST_REDO</code></a> or, this returns the UNDO
request that is redone by <em class="parameter"><code>request</code></em>, if <em class="parameter"><code>request</code></em> is a
<a class="link" href="InfAdoptedRequest.html#INF-ADOPTED-REQUEST-UNDO:CAPS"><code class="literal">INF_ADOPTED_REQUEST_UNDO</code></a> request, this returns the request that is undone
by <em class="parameter"><code>request</code></em>.
</p>
<p>
<em class="parameter"><code>request</code></em> must either be contained in <em class="parameter"><code>log</code></em> or the vector time component
of its own user must be equivalent to <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-end" title="inf_adopted_request_log_get_end ()"><code class="function">inf_adopted_request_log_get_end()</code></a>,
in which case <em class="parameter"><code>request</code></em> is treated as it if was the newest requset in <em class="parameter"><code>log</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The previous associated request of <em class="parameter"><code>request</code></em>, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-original-request"></a><h3>inf_adopted_request_log_original_request ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * inf_adopted_request_log_original_request
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> *request</code></em>);</pre>
<p>
Returns the most previous associated request for <em class="parameter"><code>request</code></em>, that is,
the <a class="link" href="InfAdoptedRequest.html#INF-ADOPTED-REQUEST-DO:CAPS"><code class="literal">INF_ADOPTED_REQUEST_DO</code></a> request that <em class="parameter"><code>request</code></em> undoes or redoes,
respectively. If <em class="parameter"><code>request</code></em> itself is a <a class="link" href="InfAdoptedRequest.html#INF-ADOPTED-REQUEST-DO:CAPS"><code class="literal">INF_ADOPTED_REQUEST_DO</code></a> request,
<em class="parameter"><code>request</code></em> itself is returned.
</p>
<p>
<em class="parameter"><code>request</code></em> must either be contained in <em class="parameter"><code>log</code></em> or the vector time component
of its own user must be equivalent to <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-get-end" title="inf_adopted_request_log_get_end ()"><code class="function">inf_adopted_request_log_get_end()</code></a>,
in which case <em class="parameter"><code>request</code></em> is treated as it if was the newest request in <em class="parameter"><code>log</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The original request of <em class="parameter"><code>request</code></em>. This function never
returns <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-next-undo"></a><h3>inf_adopted_request_log_next_undo ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * inf_adopted_request_log_next_undo (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);</pre>
<p>
Returns the request that would be undone if a undo request was added to
the request log.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The next request to be undone, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-next-redo"></a><h3>inf_adopted_request_log_next_redo ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * inf_adopted_request_log_next_redo (<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>);</pre>
<p>
Returns the request that would be redone if a redo request was added to
the request log.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The next request to be redone, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-upper-related"></a><h3>inf_adopted_request_log_upper_related ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * inf_adopted_request_log_upper_related
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> n</code></em>);</pre>
<p>
Returns the newest request in <em class="parameter"><code>log</code></em> that is related to <em class="parameter"><code>n</code></em>th request
in log. requests are considered related when they are enclosed by a
do/undo, an undo/redo or a redo/undo pair.
</p>
<p>
Note that the sets of related requests within a request log are
disjoint.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
<td>Index of a request in <em class="parameter"><code>log</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The newest request in <em class="parameter"><code>log</code></em> being related to the <em class="parameter"><code>n</code></em>th
request.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="inf-adopted-request-log-lower-related"></a><h3>inf_adopted_request_log_lower_related ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="returnvalue">InfAdoptedRequest</span></a> * inf_adopted_request_log_lower_related
(<em class="parameter"><code><a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *log</code></em>,
<em class="parameter"><code><span class="type">guint</span> n</code></em>);</pre>
<p>
Returns the oldest request in <em class="parameter"><code>log</code></em> that is related to <em class="parameter"><code>n</code></em>th request
in log. Requests are considered related when they are enclosed by a
do/undo, an undo/redo or a redo/undo pair.
</p>
<p>
Note that the sets of related requests within a request log are
disjoint.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>log</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
<td>Index of a request in <em class="parameter"><code>log</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The oldest request in <em class="parameter"><code>log</code></em> being related to the <em class="parameter"><code>n</code></em>th
request.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="InfAdoptedRequestLog.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="InfAdoptedRequestLog--begin"></a><h3>The <code class="literal">"begin"</code> property</h3>
<pre class="programlisting"> "begin" <span class="type">guint</span> : Read / Write / Construct Only</pre>
<p>The first index contained in the log.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="InfAdoptedRequestLog--end"></a><h3>The <code class="literal">"end"</code> property</h3>
<pre class="programlisting"> "end" <span class="type">guint</span> : Read</pre>
<p>The index of the next request that is inserted into the log.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="InfAdoptedRequestLog--next-redo"></a><h3>The <code class="literal">"next-redo"</code> property</h3>
<pre class="programlisting"> "next-redo" <a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a>* : Read</pre>
<p>The request that is redone when the user issues a redo request new.</p>
</div>
<hr>
<div class="refsect2">
<a name="InfAdoptedRequestLog--next-undo"></a><h3>The <code class="literal">"next-undo"</code> property</h3>
<pre class="programlisting"> "next-undo" <a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a>* : Read</pre>
<p>The request that is undone when the user issues an undo request now.</p>
</div>
<hr>
<div class="refsect2">
<a name="InfAdoptedRequestLog--user-id"></a><h3>The <code class="literal">"user-id"</code> property</h3>
<pre class="programlisting"> "user-id" <span class="type">guint</span> : Read / Write / Construct Only</pre>
<p>The ID of the user whose requests the log contains.</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1">
<a name="InfAdoptedRequestLog.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="InfAdoptedRequestLog-add-request"></a><h3>The <code class="literal">"add-request"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> *request_log,
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a> *request,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
<p>
This signal is emitted whenever a new request is added to the request log
via <a class="link" href="InfAdoptedRequestLog.html#inf-adopted-request-log-add-request" title="inf_adopted_request_log_add_request ()"><code class="function">inf_adopted_request_log_add_request()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_log</code></em> :</span></p></td>
<td>The <a class="link" href="InfAdoptedRequestLog.html" title="InfAdoptedRequestLog"><span class="type">InfAdoptedRequestLog</span></a> to which a new request is added.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>The new request being added.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="InfAdoptedRequestLog.see-also"></a><h2>See Also</h2>
<a class="link" href="InfAdoptedRequest.html" title="InfAdoptedRequest"><span class="type">InfAdoptedRequest</span></a>, <a class="link" href="InfAdoptedAlgorithm.html" title="InfAdoptedAlgorithm"><span class="type">InfAdoptedAlgorithm</span></a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|