InfAdoptedNoOperation

InfAdoptedNoOperation — An operation not doing anything.

Stability Level

Unstable, unless otherwise indicated

Synopsis

#include <libinfinity/adopted/inf-adopted-no-operation.h>

                    InfAdoptedNoOperation;
struct              InfAdoptedNoOperationClass;
InfAdoptedNoOperation * inf_adopted_no_operation_new    (void);

Object Hierarchy

  GObject
   +----InfAdoptedNoOperation

Implemented Interfaces

InfAdoptedNoOperation implements InfAdoptedOperation.

Description

InfAdoptedNoOperation is an operation that does nothing when applied to the buffer. This might be the result of an operation transformation, for example if a request is received that is supposed to delete text that was already deleted by the local site. It is also used by InfAdoptedSession to send the current state to other users in case the user being idle, so that others keep knowing the current state of that user (this is especially required for cleanup of request logs and caches).

Details

InfAdoptedNoOperation

typedef struct _InfAdoptedNoOperation InfAdoptedNoOperation;

InfAdoptedNoOperation is an opaque data type. You should only access it via the public API functions.


struct InfAdoptedNoOperationClass

struct InfAdoptedNoOperationClass {
};

This structure does not contain any public fields.


inf_adopted_no_operation_new ()

InfAdoptedNoOperation * inf_adopted_no_operation_new    (void);

Creates a new InfAdoptedNoOperation. A no operation is an operation that does nothing, but might be the result of a transformation.

Returns :

A new InfAdoptedNoOperation.

See Also

InfAdoptedOperation