source: qutecom-coip/libs/coipmanager/include/coipmanager/smssessionmanager/ISMSSessionPlugin.h @ 123:e06473b93b96

Last change on this file since 123:e06473b93b96 was 123:e06473b93b96, checked in by laurent, 3 years ago

openwengo => qutecom

File size: 1.8 KB
Line 
1/*
2 * QuteCom, a voice over Internet phone
3 * Copyright (C) WengoWengo
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20#ifndef OWISMSSESSIONPLUGIN_H
21#define OWISMSSESSIONPLUGIN_H
22
23#include <coipmanager/session/ISession.h>
24#include <coipmanager/smssessionmanager/EnumSMSState.h>
25#include <coipmanager/smssessionmanager/ISMSSession.h>
26
27/**
28 * ISMSSessionPlugin proxy class.
29 *
30 * @ingroup CoIpManager
31 * @author Philippe Bernery
32 */
33class COIPMANAGER_API ISMSSessionPlugin : public ISession, public ISMSSession {
34        Q_OBJECT
35public:
36
37        ISMSSessionPlugin(CoIpManager & coIpManager);
38
39        virtual ~ISMSSessionPlugin();
40
41Q_SIGNALS:
42
43        /** Emitted after SMS send to get send result. */
44        void smsStateSignal(std::string phoneNumber, EnumSMSState::SMSState state);
45
46public Q_SLOTS:
47
48        // Inherited from Session
49        virtual void stop();
50
51        virtual void pause();
52
53        virtual void resume();
54        ////
55
56private:
57
58        /** This methods is replaced by addPhoneNumber. */
59        virtual void addIMContact(const IMContact & contact);
60
61        /** Cannot remove IMContact in this kind of Session. */
62        virtual void removeIMContact(const IMContact & contact);
63
64};
65
66#endif //OWISMSSESSIONPLUGIN_H
Note: See TracBrowser for help on using the repository browser.