| 1 |
/**************************************************************************** |
| 2 |
** |
| 3 |
** Copyright (C) 2017 The Qt Company Ltd and/or its subsidiary(-ies). |
| 4 |
** Contact: http://www.qt-project.org/legal |
| 5 |
** |
| 6 |
** This file is part of the documentation of the Qt Toolkit. |
| 7 |
** |
| 8 |
** $QT_BEGIN_LICENSE:FDL$ |
| 9 |
** Commercial License Usage |
| 10 |
** Licensees holding valid commercial Qt licenses may use this file in |
| 11 |
** accordance with the commercial license agreement provided with the |
| 12 |
** Software or, alternatively, in accordance with the terms contained in |
| 13 |
** a written agreement between you and The Qt Company. For licensing terms |
| 14 |
** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 |
** information use the contact form at https://www.qt.io/contact-us. |
| 16 |
** |
| 17 |
** GNU Free Documentation License Usage |
| 18 |
** Alternatively, this file may be used under the terms of the GNU Free |
| 19 |
** Documentation License version 1.3 as published by the Free Software |
| 20 |
** Foundation and appearing in the file included in the packaging of |
| 21 |
** this file. Please review the following information to ensure |
| 22 |
** the GNU Free Documentation License version 1.3 requirements |
| 23 |
** will be met: https://www.gnu.org/licenses/fdl-1.3.html. |
| 24 |
** $QT_END_LICENSE$ |
| 25 |
** |
| 26 |
****************************************************************************/ |
| 27 |
|
| 28 |
/*! |
| 29 |
\namespace QService |
| 30 |
\ingroup servicefw |
| 31 |
\inmodule QtServiceFramework |
| 32 |
|
| 33 |
\brief The QService namespace contains miscellaneous identifiers used throughout the |
| 34 |
Qt Service framework library. |
| 35 |
*/ |
| 36 |
|
| 37 |
/*! |
| 38 |
\enum QService::Scope |
| 39 |
Defines the scope to be used when accessing services. |
| 40 |
|
| 41 |
\value UserScope When adding and removing services, uses a storage location |
| 42 |
specific to the current user. |
| 43 |
When searching for services and interface implementations, first searches in the |
| 44 |
user-specific location; if the service or interface implementation |
| 45 |
is not found, searches in the system-wide storage location (if the user has |
| 46 |
sufficient permissions to do so). |
| 47 |
|
| 48 |
\value SystemScope When adding and removing services, use a system-wide |
| 49 |
storage location accessible to all users. When searching |
| 50 |
for services and interface implementations, search only in the system-wide |
| 51 |
storage location. |
| 52 |
*/ |
| 53 |
|
| 54 |
/*! |
| 55 |
\enum QService::UnrecoverableIPCError |
| 56 |
Defines the unrecoverable IPC error of the service |
| 57 |
|
| 58 |
\value ErrorUnknown An unknown IPC error. |
| 59 |
\value ErrorServiceNoLongerAvailable Indicates that the service is no longer available. |
| 60 |
\value ErrorOutofMemory Indicates that the service is out of memoruy. |
| 61 |
\value ErrorPermissionDenied Indicates that the permission of this service is denied. |
| 62 |
\value ErrorInvalidArguments User uses invalid argument for this service. |
| 63 |
*/ |
| 64 |
|
| 65 |
/*! |
| 66 |
\enum QService::Type |
| 67 |
Defines the type of the service |
| 68 |
|
| 69 |
\value Plugin This denotes that the service is plug-in based. |
| 70 |
\value InterProcess This denotes that the service is deployed using IPC mechanisms |
| 71 |
available on the current platform, such as DBus or local sockets. |
| 72 |
*/ |