client.h 2.32 KB
Newer Older
1
/*
Adrien Béraud's avatar
Adrien Béraud committed
2
 *  Copyright (C) 2004-2015 Savoir-Faire Linux Inc.
3
 *  Author: Pierre-Luc Beaudoin <pierre-luc.beaudoin@savoirfairelinux.com>
Julien Bonjean's avatar
Julien Bonjean committed
4
 *
5 6
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
7
 *  the Free Software Foundation; either version 3 of the License, or
8
 *  (at your option) any later version.
Julien Bonjean's avatar
Julien Bonjean committed
9
 *
10 11 12 13
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
Julien Bonjean's avatar
Julien Bonjean committed
14
 *
15 16
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
17
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
18 19 20 21 22 23 24 25 26 27 28
 *
 *  Additional permission under GNU GPL version 3 section 7:
 *
 *  If you modify this program, or any covered work, by linking or
 *  combining it with the OpenSSL project's OpenSSL library (or a
 *  modified version of that library), containing parts covered by the
 *  terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
 *  grants you additional permission to convey the resulting work.
 *  Corresponding Source for a non-source form of such a combination
 *  shall include the source code for the parts of OpenSSL used as well
 *  as that of the covered work.
29 30
 */

31 32
#ifndef __CLIENT_H__
#define __CLIENT_H__
33

34 35 36
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
37
#include "noncopyable.h"
38

Guillaume Roguez's avatar
Guillaume Roguez committed
39 40
namespace ring {

41 42 43
class ConfigurationManager;
class CallManager;
class NetworkManager;
44
class Instance;
45 46
class PresenceManager;

Adrien Béraud's avatar
Adrien Béraud committed
47
#ifdef RING_VIDEO
48
class VideoManager;
49
#endif
50

51
class Client {
52
    public:
53 54
        Client();
        ~Client();
55

56 57 58 59 60
        CallManager * getCallManager();

        ConfigurationManager * getConfigurationManager();

        PresenceManager * getPresenceManager();
61

Adrien Béraud's avatar
Adrien Béraud committed
62
#ifdef RING_VIDEO
63
        VideoManager* getVideoManager();
64
#endif
65 66

    private:
67
        NON_COPYABLE(Client);
68 69
        CallManager*          callManager_;
        ConfigurationManager* configurationManager_;
70
        PresenceManager*      presenceManager_;
Adrien Béraud's avatar
Adrien Béraud committed
71
#ifdef RING_VIDEO
72
        VideoManager *videoManager_;
73
#endif
74
#if USE_NETWORKMANAGER
75
        NetworkManager* networkManager_;
76 77 78
#endif
};

Guillaume Roguez's avatar
Guillaume Roguez committed
79 80
} // namespace ring

81
#endif