## Miscellaneous definitions

Miscellaneous definitions — Definitions useful for working with the Telepathy protocol

## Synopsis

    #include <telepathy-glib/telepathy-glib.h>

    #define             TP_CM_BUS_NAME_BASE
    #define             TP_CM_OBJECT_PATH_BASE
    #define             TP_CONN_BUS_NAME_BASE
    #define             TP_CONN_OBJECT_PATH_BASE
    #define             TP_ACCOUNT_MANAGER_BUS_NAME
    #define             TP_ACCOUNT_MANAGER_OBJECT_PATH
    #define             TP_ACCOUNT_OBJECT_PATH_BASE
    #define             TP_CHANNEL_DISPATCHER_BUS_NAME
    #define             TP_CHANNEL_DISPATCHER_OBJECT_PATH
    #define             TP_CLIENT_BUS_NAME_BASE
    #define             TP_CLIENT_OBJECT_PATH_BASE
    #define             TP_DEBUG_OBJECT_PATH
    #define             TP_USER_ACTION_TIME_NOT_USER_ACTION
    #define             TP_USER_ACTION_TIME_CURRENT_TIME

## Description

This header contains definitions which didn't fit into enums.h, interfaces.h or errors.h.

Changed in 0.7.0: in older versions, some of these constants were in base-connection.h and base-connection-manager.h.

## Details

### TP_CM_BUS_NAME_BASE

    #define TP_CM_BUS_NAME_BASE    "org.freedesktop.Telepathy.ConnectionManager."

The prefix for a connection manager's bus name, to which the CM's name (e.g. "gabble") should be appended.

### TP_CM_OBJECT_PATH_BASE

    #define TP_CM_OBJECT_PATH_BASE "/org/freedesktop/Telepathy/ConnectionManager/"

The prefix for a connection manager's object path, to which the CM's name (e.g. "gabble") should be appended.

### TP_CONN_BUS_NAME_BASE

    #define TP_CONN_BUS_NAME_BASE "org.freedesktop.Telepathy.Connection."

The prefix for a connection's bus name, to which the CM's name (e.g. "gabble"), the protocol (e.g. "jabber") and an element or sequence of elements representing the account should be appended.

### TP_CONN_OBJECT_PATH_BASE

    #define TP_CONN_OBJECT_PATH_BASE "/org/freedesktop/Telepathy/Connection/"

The prefix for a connection's object path, to which the CM's name (e.g. "gabble"), the protocol (e.g. "jabber") and an element or sequence of elements representing the account should be appended.

### TP_ACCOUNT_MANAGER_BUS_NAME

    #define TP_ACCOUNT_MANAGER_BUS_NAME "org.freedesktop.Telepathy.AccountManager"

The account manager's well-known bus name

### TP_ACCOUNT_MANAGER_OBJECT_PATH

    #define TP_ACCOUNT_MANAGER_OBJECT_PATH "/org/freedesktop/Telepathy/AccountManager"

The account manager's standard object path

### TP_ACCOUNT_OBJECT_PATH_BASE

    #define TP_ACCOUNT_OBJECT_PATH_BASE "/org/freedesktop/Telepathy/Account/"

The common prefix of the object path for all Account objects.

### TP_CHANNEL_DISPATCHER_BUS_NAME

    #define TP_CHANNEL_DISPATCHER_BUS_NAME "org.freedesktop.Telepathy.ChannelDispatcher"

The channel dispatcher's well-known bus name

### TP_CHANNEL_DISPATCHER_OBJECT_PATH

    #define TP_CHANNEL_DISPATCHER_OBJECT_PATH "/org/freedesktop/Telepathy/ChannelDispatcher"

The channel dispatcher's standard object path

### TP_CLIENT_BUS_NAME_BASE

    #define TP_CLIENT_BUS_NAME_BASE "org.freedesktop.Telepathy.Client."

The common prefix of the well-known bus name for any Telepathy Client.

### TP_CLIENT_OBJECT_PATH_BASE

    #define TP_CLIENT_OBJECT_PATH_BASE "/org/freedesktop/Telepathy/Client/"

The common prefix of the well-known object path for any Telepathy Client.

### TP_DEBUG_OBJECT_PATH

    #define TP_DEBUG_OBJECT_PATH "/org/freedesktop/Telepathy/debug"

The standard path for objects implementing the Telepathy Debug interface (TpSvcDebug).

### TP_USER_ACTION_TIME_NOT_USER_ACTION

    #define TP_USER_ACTION_TIME_NOT_USER_ACTION (G_GINT64_CONSTANT (0))

The "user action time" used by methods like `tp_account_channel_request_new()` to represent channel requests that are not a result of user action.

See also "user-action-time", `tp_user_action_time_from_x11()`, `tp_user_action_time_should_present()` and `TP_USER_ACTION_TIME_CURRENT_TIME`.

Since 0.11.13

### TP_USER_ACTION_TIME_CURRENT_TIME

    #define TP_USER_ACTION_TIME_CURRENT_TIME (G_MAXINT64)

The "user action time" used by methods like `tp_account_channel_request_new()` to represent channel requests that should be treated as though they happened at the current time. This is the same concept as `GDK_CURRENT_TIME` in GDK (but note that the numerical value used in Telepathy is not the same).

See also "user-action-time", `tp_user_action_time_from_x11()`, `tp_user_action_time_should_present()` and `TP_USER_ACTION_TIME_NOT_USER_ACTION`.

Since 0.11.13