Mir
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
client
mir
client
private.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2014 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License version 3 as
6
* published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Alan Griffiths <alan@octopull.co.uk>
17
*/
18
19
#ifndef MIR_CLIENT_PRIVATE_H_
20
#define MIR_CLIENT_PRIVATE_H_
21
22
#include <
mir_toolkit/client_types.h
>
23
24
#include <memory>
25
26
namespace
google
27
{
28
namespace
protobuf
29
{
30
class
RpcChannel;
31
}
32
}
33
34
namespace
mir
35
{
36
namespace
client
37
{
47
std::shared_ptr<google::protobuf::RpcChannel>
the_rpc_channel
(
MirConnection
* connection);
48
}
49
}
50
51
#endif
/* MIR_CLIENT_PRIVATE_H_ */
mir::client::the_rpc_channel
std::shared_ptr< google::protobuf::RpcChannel > the_rpc_channel(MirConnection *connection)
Get the the RpcChannel associated with the connection.
Definition:
private.cpp:22
client_types.h
MirConnection
Definition:
mir_connection.h:69
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014