2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: location triggering server client library
27 * A handle to Location Triggering Server session.
29 * This is generally the first interface class used by all client applications.
30 * It is used to make the primary connection to the Location Triggering Server.
31 * After the primary connection has been established, its handle is passed as a
32 * parameter of the Open methods of @p RLbt to create a subsession.
38 class RLbtServer : public RSessionBase
42 * Constructor for RLbtServer
44 IMPORT_C RLbtServer();
47 * Creates a session with the Location Triggering Server.
48 * This method must be called before any subsession can be opened.
51 * @panic ELbtServerHandleNotClosed Try to connect using an already opened handle.
53 * @return KErrNone, if successful. KErrNotSupported if Location Triggers
54 * Server is not present in the system. Otherwise one of the other standard
55 * Symbian error code (for example KErrNoMemory, KErrServerBusy, etc. )
58 IMPORT_C TInt Connect();
61 * Closes a session with the Location Triggering Server.
62 * Before the connection to Location Triggering Server is closed, the
63 * client application must ensure that all subsessions is closed.
65 IMPORT_C void Close();
68 * Obtains the client side version number of Location Triggering Server.
70 * @return The client side version number.
72 IMPORT_C TVersion Version() const;
75 * Symbian 2nd phase constructor.
81 * Unused variable for future expansion.